From fa73ff0d14cc7f0900788f692821c5312c57fae8 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Fri, 23 Feb 2007 23:35:01 +0000 Subject: [PATCH] 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 --- src/servers/app/DecorManager.cpp | 3 +++ src/servers/app/Decorator.h | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/servers/app/DecorManager.cpp b/src/servers/app/DecorManager.cpp index 9b8e1dd4a1..c0e1c07b15 100644 --- a/src/servers/app/DecorManager.cpp +++ b/src/servers/app/DecorManager.cpp @@ -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; diff --git a/src/servers/app/Decorator.h b/src/servers/app/Decorator.h index d33a988ff7..1252342f5c 100644 --- a/src/servers/app/Decorator.h +++ b/src/servers/app/Decorator.h @@ -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_ */