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 ;
Preference Screen :
AlertView.cpp
AlertWindow.cpp
RefreshSlider.cpp
RefreshView.cpp
RefreshWindow.cpp
Screen.cpp
MonitorView.cpp
ScreenSettings.cpp
ScreenWindow.cpp
Utility.cpp
AlertView.cpp
AlertWindow.cpp
MonitorView.cpp
RefreshSlider.cpp
RefreshView.cpp
RefreshWindow.cpp
ScreenApplication.cpp
ScreenSettings.cpp
ScreenWindow.cpp
Utility.cpp
: libbe.so
: Screen.rdef
;
@@ -10,21 +10,17 @@
*/
#include <Application.h>
#include <Alert.h>
#include <cstdio>
#include <cstring>
#include "Constants.h"
#include "ScreenApplication.h"
#include "ScreenWindow.h"
#include "ScreenSettings.h"
#include "Constants.h"
#include <Alert.h>
ScreenApplication::ScreenApplication()
: BApplication(kAppSignature),
fScreenWindow(new ScreenWindow(new ScreenSettings()))
fScreenWindow(new ScreenWindow(new ScreenSettings()))
{
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 ScreenApplication : public BApplication
{
public:
ScreenApplication();
virtual void MessageReceived(BMessage *message);
virtual void AboutRequested();
private:
ScreenWindow *fScreenWindow;
class ScreenApplication : public BApplication {
public:
ScreenApplication();
virtual void MessageReceived(BMessage *message);
virtual void AboutRequested();
private:
ScreenWindow *fScreenWindow;
};
#endif
#endif /* SCREEN_APPLICATION_H */