1c5a1e55c1
- Make the BuildScreenSaverDefaultSettingsView function be built into libscreensaver.so and under the BPrivate namespace. This avoids the repetition of the compiled code in each screen saver that uses it. - Updated the ScreenSaver preferences to use this. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33403 a95241bf-73f2-0310-859d-f6bbb57e9c96
23 lines
431 B
C++
23 lines
431 B
C++
/*
|
|
* Copyright 2009, Haiku.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Ryan Leavengood, leavengood@gmail.com
|
|
*/
|
|
#ifndef BUILD_SCREEN_SAVER_DEFAULT_SETTINGS_VIEW
|
|
#define BUILD_SCREEN_SAVER_DEFAULT_SETTINGS_VIEW
|
|
|
|
|
|
class BView;
|
|
|
|
namespace BPrivate {
|
|
|
|
void BuildScreenSaverDefaultSettingsView(BView* view, const char* moduleName, const char* info);
|
|
|
|
}
|
|
|
|
|
|
#endif // BUILD_SCREEN_SAVER_DEFAULT_SETTINGS_VIEW
|
|
|