Moved the decorator function declarations into DecorManager (which is the only place which uses them) to allow add-on decorators to build

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20214 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2007-02-23 23:35:01 +00:00
parent ff78e73c3b
commit fa73ff0d14
2 changed files with 6 additions and 3 deletions

View File

@ -20,6 +20,9 @@
#include "ServerConfig.h"
#include "DecorManager.h"
typedef float get_version(void);
typedef Decorator* create_decorator(DesktopSettings& desktopSettings, BRect rect,
window_look look, uint32 flags);
// Globals
DecorManager gDecorManager;

View File

@ -165,8 +165,8 @@ class Decorator {
};
// add-on stuff
typedef float get_version(void);
typedef Decorator* create_decorator(DesktopSettings& desktopSettings, BRect rect,
window_look look, uint32 flags);
//typedef float get_version(void);
//typedef Decorator* create_decorator(DesktopSettings& desktopSettings, BRect rect,
// window_look look, uint32 flags);
#endif /* _DECORATOR_H_ */