* Cleanup, removed author information.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-12-01 07:58:45 +00:00
parent ec1bcf6243
commit 6bb7a8908c
1 changed files with 85 additions and 100 deletions

View File

@ -1,16 +1,12 @@
/*
* Copyright 2001-2007, Haiku.
* Copyright 2001-2009, Haiku Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Erik Jaesler (erik@cgsoftware.com)
*/
#ifndef _APPLICATION_H
#define _APPLICATION_H
#include <BeBuild.h>
#include <AppDefs.h> // For convenience
#include <AppDefs.h>
#include <InterfaceDefs.h>
#include <Looper.h>
#include <Messenger.h>
@ -36,7 +32,8 @@ namespace BPrivate {
class BApplication : public BLooper {
public:
BApplication(const char* signature);
BApplication(const char* signature, status_t* error);
BApplication(const char* signature,
status_t* error);
virtual ~BApplication();
// Archiving
@ -52,17 +49,15 @@ public:
virtual bool QuitRequested();
virtual void Pulse();
virtual void ReadyToRun();
virtual void MessageReceived(BMessage* msg);
virtual void MessageReceived(BMessage* message);
virtual void ArgvReceived(int32 argc, char** argv);
virtual void AppActivated(bool active);
virtual void RefsReceived(BMessage* message);
virtual void AboutRequested();
// Scripting
virtual BHandler* ResolveSpecifier(BMessage* msg,
int32 index,
BMessage* specifier,
int32 form,
virtual BHandler* ResolveSpecifier(BMessage* message, int32 index,
BMessage* specifier, int32 form,
const char* property);
// Cursor control, window/looper list, and app info
@ -71,9 +66,12 @@ public:
void ObscureCursor();
bool IsCursorHidden() const;
void SetCursor(const void* cursor);
void SetCursor(const BCursor* cursor, bool sync = true);
void SetCursor(const BCursor* cursor,
bool sync = true);
int32 CountWindows() const;
BWindow* WindowAt(int32 index) const;
int32 CountLoopers() const;
BLooper* LooperAt(int32 index) const;
bool IsLaunching() const;
@ -124,19 +122,7 @@ private:
status_t _SetupServerAllocator();
status_t _InitGUIContext();
status_t _ConnectToServer();
/* void send_drag( BMessage* msg,
int32 vs_token,
BPoint offset,
BRect drag_rect,
BHandler* reply_to);
void send_drag( BMessage* msg,
int32 vs_token,
BPoint offset,
int32 bitmap_token,
drawing_mode dragMode,
BHandler* reply_to);
void write_drag(_BSession_* session, BMessage* a_message);
*/ bool _QuitAllWindows(bool force);
bool _QuitAllWindows(bool force);
bool _WindowQuitLoop(bool quitFilePanels, bool force);
void _ArgvReceived(BMessage* message);
@ -156,7 +142,6 @@ private:
void* fCursorData;
bigtime_t fPulseRate;
uint32 fInitialWorkspace;
//_drag_data_* fDraggedMessage;
BMessageRunner* fPulseRunner;
status_t fInitError;
void* fServerReadOnlyMemory;