allow any CompoundPart to gain focus, if it canGainFocus()
[openc2e.git] / prayManager.h
blob187a8b97e6c91d967e4a14cac3545e2475da6b97
1 /*
2 * prayManager.h
3 * openc2e
5 * Created by Alyssa Milburn on Sun Jan 22 2006.
6 * Copyright (c) 2006 Alyssa Milburn. All rights reserved.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
20 #ifndef PRAYMANAGER_H
21 #define PRAYMANAGER_H
23 #include "pray.h"
25 namespace fs = boost::filesystem;
27 class prayManager {
28 protected:
29 std::vector<prayFile *> files;
31 public:
32 std::map<std::string, prayBlock *> blocks;
34 ~prayManager();
35 void addFile(prayFile *);
36 void removeFile(prayFile *);
37 void update();
39 static std::string getResourceDir(unsigned int id);
42 #endif
43 /* vim: set noet: */