* Put the decor stuff in the BPrivate namespace, as it should have been from

the beginning.
* Added header for the get_decorator() functions and friends.
* Minor coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41638 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2011-05-21 18:12:25 +00:00
parent d96a7d591e
commit c329950ca7
3 changed files with 56 additions and 22 deletions
@@ -0,0 +1,27 @@
/*
* Copyright 2011, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*/
#ifndef DECORATOR_PRIVATE_H
#define DECORATOR_PRIVATE_H
#include <SupportDefs.h>
class BString;
class BWindow;
namespace BPrivate {
bool get_decorator(BString& name);
status_t set_decorator(const BString& name);
status_t preview_decorator(const BString& name, BWindow* window);
} // namespace BPrivate
#endif // DECORATOR_PRIVATE_H