Fix coding style.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37886 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2010-08-03 20:32:37 +00:00
parent 0e505c0c7b
commit a92ef26cd7
8 changed files with 18 additions and 25 deletions
+1 -3
View File
@@ -6,7 +6,6 @@
* DarkWyrm <[email protected]>
* Clemens Zeidler <[email protected]>
*/
#ifndef DECOR_MANAGER_H
#define DECOR_MANAGER_H
@@ -29,8 +28,7 @@ class WindowBehaviour;
typedef BObjectList<DesktopListener> DesktopListenerList;
class DecorAddOn
{
class DecorAddOn {
public:
DecorAddOn(image_id id, const char* name);
virtual ~DecorAddOn();
+1 -1
View File
@@ -7,7 +7,6 @@
* Stephan Aßmus <[email protected]>
* Clemens Zeidler <[email protected]>
*/
#ifndef DECORATOR_H
#define DECORATOR_H
@@ -46,6 +45,7 @@ enum click_type {
CLICK_RESIZE_RB
};
class Decorator {
public:
Decorator(DesktopSettings& settings, BRect rect,
-1
View File
@@ -7,7 +7,6 @@
* Stephan Aßmus <[email protected]>
* Clemens Zeidler <[email protected]>
*/
#ifndef DEFAULT_DECORATOR_H
#define DEFAULT_DECORATOR_H
+4 -6
View File
@@ -10,7 +10,6 @@
* Brecht Machiels <[email protected]>
* Clemens Zeidler <[email protected]>
*/
#ifndef DEFAULT_WINDOW_BEHAVIOUR_H
#define DEFAULT_WINDOW_BEHAVIOUR_H
@@ -24,9 +23,8 @@ class Desktop;
class Window;
class DefaultWindowBehaviour : public WindowBehaviour
{
public:
class DefaultWindowBehaviour : public WindowBehaviour {
public:
DefaultWindowBehaviour(Window* window);
virtual ~DefaultWindowBehaviour();
@@ -35,7 +33,7 @@ class DefaultWindowBehaviour : public WindowBehaviour
virtual void MouseMoved(BMessage *message, BPoint where,
bool isFake);
protected:
protected:
Window* fWindow;
Desktop* fDesktop;
@@ -50,7 +48,7 @@ class DefaultWindowBehaviour : public WindowBehaviour
bigtime_t fLastMoveTime;
bigtime_t fLastSnapTime;
private:
private:
int32 _ExtractButtons(const BMessage* message) const;
int32 _ExtractModifiers(const BMessage* message) const;
click_type _ActionFor(const BMessage* message) const;
+1
View File
@@ -6,6 +6,7 @@
* Clemens Zeidler <[email protected]>
*/
#include "DesktopListener.h"
+7 -9
View File
@@ -5,10 +5,10 @@
* Authors:
* Clemens Zeidler <[email protected]>
*/
#ifndef DESKTOP_LISTENER_H
#define DESKTOP_LISTENER_H
#include <util/DoublyLinkedList.h>
#include <Point.h>
@@ -18,9 +18,8 @@ class BMessage;
class Window;
class DesktopListener : public DoublyLinkedListLinkImpl<DesktopListener>
{
public:
class DesktopListener : public DoublyLinkedListLinkImpl<DesktopListener> {
public:
virtual ~DesktopListener();
virtual void AddWindow(Window* window) = 0;
@@ -58,9 +57,8 @@ class DesktopListener : public DoublyLinkedListLinkImpl<DesktopListener>
typedef DoublyLinkedList<DesktopListener> DesktopListenerDLList;
class DesktopObservable
{
public:
class DesktopObservable {
public:
DesktopObservable();
void RegisterListener(DesktopListener* listener);
@@ -96,8 +94,8 @@ class DesktopObservable
void InvokeGetDecoratorSettings(Window* window,
BMessage& settings);
private:
class InvokeGuard{
private:
class InvokeGuard {
public:
InvokeGuard(bool& invoking);
~InvokeGuard();
+1
View File
@@ -7,6 +7,7 @@
* Stefano Ceccherini ([email protected])
* Marcus Overhagen <[email protected]>
*/
#include "ServerPicture.h"
#include <new>
+3 -5
View File
@@ -5,7 +5,6 @@
* Authors:
* Clemens Zeidler <[email protected]>
*/
#ifndef WINDOW_BEHAVIOUR_H
#define WINDOW_BEHAVIOUR_H
@@ -16,9 +15,8 @@
class BMessage;
class WindowBehaviour
{
public:
class WindowBehaviour {
public:
WindowBehaviour();
virtual ~WindowBehaviour();
@@ -31,7 +29,7 @@ class WindowBehaviour
bool IsDragging() const { return fIsDragging; }
bool IsResizing() const { return fIsResizing; }
protected:
protected:
bool fIsResizing : 1;
bool fIsDragging : 1;
};