source: dev/trunk/ab5.0/abdev/ab_common/include/ResourceManager/ResourceManager.h@ 660

Last change on this file since 660 was 622, checked in by dai_9181, 17 years ago

ResourceManagerクラスを追加。既存のリソース管理モジュールの置き換えを行った。

File size: 562 bytes
Line 
1#pragma once
2
3namespace ActiveBasic{ namespace Common{
4
5
6struct ResourceItem
7{
8 std::string idName;
9 std::string filepath;
10
11 // IDEのみで使う
12 HTREEITEM hTreeItem;
13};
14typedef std::vector<ResourceItem> ResourceItems;
15
16
17class ResourceManager
18{
19public:
20 void Clear();
21 bool Load( const std::string &resourceFilePath );
22 bool Save( const std::string &resourceFilePath );
23
24 bool HasManifest() const;
25
26 ResourceItems cursorResources;
27 ResourceItems bitmapResources;
28 ResourceItems iconResources;
29 std::string manifestFilePath;
30};
31
32
33}}
Note: See TracBrowser for help on using the repository browser.