Updated indentation style.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32690 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2009-08-26 10:45:36 +00:00
parent 87ba0eaa2b
commit aaa6b1228a
2 changed files with 110 additions and 104 deletions
+12 -8
View File
@@ -1,6 +1,6 @@
/*
* Copyright 2006-2007, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
* Copyright 2006-2009, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _DESKBAR_H
#define _DESKBAR_H
@@ -24,7 +24,7 @@ enum deskbar_location {
};
class BDeskbar {
public:
public:
BDeskbar();
~BDeskbar();
@@ -33,24 +33,28 @@ class BDeskbar {
// Location member functions
BRect Frame() const;
deskbar_location Location(bool* _isExpanded = NULL) const;
status_t SetLocation(deskbar_location location, bool expanded = false);
status_t SetLocation(deskbar_location location,
bool expanded = false);
bool IsExpanded() const;
status_t Expand(bool expand);
// Item querying member functions
status_t GetItemInfo(int32 id, const char** _name) const;
status_t GetItemInfo(const char* name, int32* _id) const;
status_t GetItemInfo(int32 id,
const char** _name) const;
status_t GetItemInfo(const char* name,
int32* _id) const;
bool HasItem(int32 id) const;
bool HasItem(const char* name) const;
uint32 CountItems() const;
// Item modification member functions
status_t AddItem(BView* archivableView, int32* _id = NULL);
status_t AddItem(BView* archivableView,
int32* _id = NULL);
status_t AddItem(entry_ref* addOn, int32* _id = NULL);
status_t RemoveItem(int32 id);
status_t RemoveItem(const char* name);
private:
private:
BMessenger* fMessenger;
uint32 _reserved[12];
};
+13 -11
View File
@@ -1,6 +1,6 @@
/*
* Copyright 2006-2009, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
* Distributed under the terms of the MIT license.
*/
#ifndef _DRAGGER_H
#define _DRAGGER_H
@@ -22,7 +22,7 @@ namespace BPrivate {
class BDragger : public BView {
public:
public:
BDragger(BRect bounds, BView* target,
uint32 resizingMask = B_FOLLOW_NONE,
uint32 flags = B_WILL_DRAW);
@@ -30,7 +30,8 @@ class BDragger : public BView {
virtual ~BDragger();
static BArchivable* Instantiate(BMessage* data);
virtual status_t Archive(BMessage* data, bool deep = true) const;
virtual status_t Archive(BMessage* data,
bool deep = true) const;
virtual void AttachedToWindow();
virtual void DetachedFromWindow();
@@ -48,14 +49,15 @@ class BDragger : public BView {
static status_t HideAllDraggers();
static bool AreDraggersDrawn();
virtual BHandler* ResolveSpecifier(BMessage* message, int32 index,
BMessage* specifier, int32 form,
const char* property);
virtual BHandler* ResolveSpecifier(BMessage* message,
int32 index, BMessage* specifier,
int32 form, const char* property);
virtual status_t GetSupportedSuites(BMessage* data);
virtual status_t Perform(perform_code d, void* arg);
virtual status_t Perform(perform_code code, void* data);
virtual void ResizeToPreferred();
virtual void GetPreferredSize(float* _width, float* _height);
virtual void GetPreferredSize(float* _width,
float* _height);
virtual void MakeFocus(bool focus = true);
virtual void AllAttached();
virtual void AllDetached();
@@ -66,14 +68,14 @@ class BDragger : public BView {
bool InShelf() const;
BView* Target() const;
virtual BBitmap* DragBitmap(BPoint* offset, drawing_mode *mode);
virtual BBitmap* DragBitmap(BPoint* offset, drawing_mode* mode);
class Private;
protected:
protected:
bool IsVisibilityChanging() const;
private:
private:
friend class BPrivate::ShelfContainerViewFilter;
friend class BPrivate::replicant_data;
friend class Private;