Indentation update.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35841 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-03-13 17:55:17 +00:00
parent 14f88b3412
commit 2318b47802
+36 -35
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright 2007, Haiku Inc. All Rights Reserved. * Copyright 2007-2009, Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Author: * Author:
@@ -21,49 +21,50 @@ enum {
}; };
class BClipboard { class BClipboard {
public: public:
BClipboard(const char* name, bool transient = false); BClipboard(const char* name,
virtual ~BClipboard(); bool transient = false);
virtual ~BClipboard();
const char* Name() const; const char* Name() const;
uint32 LocalCount() const; uint32 LocalCount() const;
uint32 SystemCount() const; uint32 SystemCount() const;
status_t StartWatching(BMessenger target); status_t StartWatching(BMessenger target);
status_t StopWatching(BMessenger target); status_t StopWatching(BMessenger target);
bool Lock(); bool Lock();
void Unlock(); void Unlock();
bool IsLocked() const; bool IsLocked() const;
status_t Clear(); status_t Clear();
status_t Commit(); status_t Commit();
status_t Commit(bool failIfChanged); status_t Commit(bool failIfChanged);
status_t Revert(); status_t Revert();
BMessenger DataSource() const; BMessenger DataSource() const;
BMessage* Data() const; BMessage* Data() const;
private: private:
BClipboard(const BClipboard &); BClipboard(const BClipboard&);
BClipboard &operator=(const BClipboard &); BClipboard& operator=(const BClipboard&);
virtual void _ReservedClipboard1(); virtual void _ReservedClipboard1();
virtual void _ReservedClipboard2(); virtual void _ReservedClipboard2();
virtual void _ReservedClipboard3(); virtual void _ReservedClipboard3();
bool _AssertLocked() const; bool _AssertLocked() const;
status_t _DownloadFromSystem(bool force = false); status_t _DownloadFromSystem(bool force = false);
status_t _UploadToSystem(); status_t _UploadToSystem();
uint32 _reserved0; uint32 _reserved0;
BMessage* fData; BMessage* fData;
BLocker fLock; BLocker fLock;
BMessenger fClipHandler; BMessenger fClipHandler;
BMessenger fDataSource; BMessenger fDataSource;
uint32 fCount; uint32 fCount;
char* fName; char* fName;
uint32 _reserved[4]; uint32 _reserved[4];
}; };
extern BClipboard* be_clipboard; extern BClipboard* be_clipboard;