f0d95841ee
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27811 a95241bf-73f2-0310-859d-f6bbb57e9c96
47 lines
833 B
C++
47 lines
833 B
C++
/*
|
|
* Copyright 2008, François Revol, <revol@free.fr>. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _BE_THEME_IMPORTER_H
|
|
#define _BE_THEME_IMPORTER_H
|
|
/*
|
|
* BeTheme Importer class header
|
|
*/
|
|
|
|
#include <Query.h>
|
|
|
|
#include "ThemeImporter.h"
|
|
|
|
namespace Z {
|
|
namespace ThemeManager {
|
|
|
|
class BeThemeImporter : public ThemeImporter {
|
|
public:
|
|
BeThemeImporter();
|
|
virtual ~BeThemeImporter();
|
|
|
|
/* presentation */
|
|
|
|
virtual const char *Description(); /* tooltip... */
|
|
|
|
/* Theme manipulation */
|
|
|
|
virtual status_t FetchThemes();
|
|
virtual status_t ImportNextTheme(BMessage **theme);
|
|
virtual status_t EndImports();
|
|
|
|
/* */
|
|
|
|
private:
|
|
|
|
friend class Z::ThemeManager::ThemeManager;
|
|
BQuery fQuery;
|
|
};
|
|
|
|
} // ns ThemeManager
|
|
} // ns Z
|
|
|
|
using namespace Z::ThemeManager;
|
|
|
|
#endif /* _BE_THEME_IMPORTER_H */
|