37ec4f04fe
I've done all preferences apps for now, and some related. * Some other related cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19090 a95241bf-73f2-0310-859d-f6bbb57e9c96
39 lines
712 B
C++
39 lines
712 B
C++
/*
|
|
* Copyright 2002-2006, Haiku. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors in chronological order:
|
|
* Andrew McCall, mccall@digitalparadise.co.uk
|
|
* Mike Berg
|
|
*/
|
|
#ifndef TIME_H
|
|
#define TIME_H
|
|
|
|
|
|
#include "TimeSettings.h"
|
|
#include "TimeWindow.h"
|
|
|
|
#include <Application.h>
|
|
|
|
|
|
class TimeApplication : public BApplication {
|
|
public:
|
|
TimeApplication();
|
|
virtual ~TimeApplication();
|
|
|
|
void MessageReceived(BMessage* message);
|
|
|
|
void ReadyToRun();
|
|
void AboutRequested();
|
|
|
|
void SetWindowCorner(BPoint corner);
|
|
BPoint WindowCorner() const
|
|
{ return fSettings->WindowCorner(); }
|
|
|
|
private:
|
|
TimeSettings *fSettings;
|
|
TTimeWindow *fWindow;
|
|
};
|
|
|
|
#endif // TIME_H
|