Renamed Screen.cpp to ScreenApplication.cpp to match the name of the header (and the class).

Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13220 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-06-21 12:12:44 +00:00
parent e6629a65a2
commit 718c4fe0c4
3 changed files with 41 additions and 29 deletions
+10 -10
View File
@@ -1,16 +1,16 @@
SubDir OBOS_TOP src prefs screen ; SubDir OBOS_TOP src prefs screen ;
Preference Screen : Preference Screen :
AlertView.cpp AlertView.cpp
AlertWindow.cpp AlertWindow.cpp
RefreshSlider.cpp MonitorView.cpp
RefreshView.cpp RefreshSlider.cpp
RefreshWindow.cpp RefreshView.cpp
Screen.cpp RefreshWindow.cpp
MonitorView.cpp ScreenApplication.cpp
ScreenSettings.cpp ScreenSettings.cpp
ScreenWindow.cpp ScreenWindow.cpp
Utility.cpp Utility.cpp
: libbe.so : libbe.so
: Screen.rdef : Screen.rdef
; ;
@@ -10,21 +10,17 @@
*/ */
#include <Application.h>
#include <Alert.h>
#include <cstdio>
#include <cstring>
#include "Constants.h"
#include "ScreenApplication.h" #include "ScreenApplication.h"
#include "ScreenWindow.h" #include "ScreenWindow.h"
#include "ScreenSettings.h" #include "ScreenSettings.h"
#include "Constants.h"
#include <Alert.h>
ScreenApplication::ScreenApplication() ScreenApplication::ScreenApplication()
: BApplication(kAppSignature), : BApplication(kAppSignature),
fScreenWindow(new ScreenWindow(new ScreenSettings())) fScreenWindow(new ScreenWindow(new ScreenSettings()))
{ {
fScreenWindow->Show(); fScreenWindow->Show();
} }
+27 -11
View File
@@ -1,15 +1,31 @@
#ifndef __SCREENAPPLICATION_H /*
#define __SCREENAPPLICATION_H * Copyright 2001-2005, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Rafael Romo
* Stefano Ceccherini ([email protected])
* Andrew Bachmann
* Sergei Panteleev
*/
#ifndef SCREEN_APPLICATION_H
#define SCREEN_APPLICATION_H
#include <Application.h>
class ScreenWindow; class ScreenWindow;
class ScreenApplication : public BApplication
{ class ScreenApplication : public BApplication {
public: public:
ScreenApplication(); ScreenApplication();
virtual void MessageReceived(BMessage *message);
virtual void AboutRequested(); virtual void MessageReceived(BMessage *message);
private: virtual void AboutRequested();
ScreenWindow *fScreenWindow;
private:
ScreenWindow *fScreenWindow;
}; };
#endif #endif /* SCREEN_APPLICATION_H */