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