Style changes only

This commit is contained in:
John Scipione
2013-01-14 15:16:51 -05:00
parent 74a0eef547
commit c5d129a27a
+12 -9
View File
@@ -103,6 +103,7 @@ struct clock_settings {
bool showTimeZone;
};
class BFile;
class BList;
class BBitmap;
@@ -110,11 +111,10 @@ class PreferencesWindow;
class TBarView;
class TBarWindow;
class BarTeamInfo {
public:
BarTeamInfo(BList* teams, uint32 flags, char* sig, BBitmap* icon,
char* name);
BarTeamInfo(BList* teams, uint32 flags,
char* sig, BBitmap* icon, char* name);
BarTeamInfo(const BarTeamInfo &info);
~BarTeamInfo();
@@ -125,7 +125,6 @@ public:
char* name;
};
class TBarApp : public BApplication {
public:
TBarApp();
@@ -137,15 +136,19 @@ class TBarApp : public BApplication {
desk_settings* Settings() { return &fSettings; }
clock_settings* ClockSettings() { return &fClockSettings; }
TBarView* BarView() const { return fBarView; }
TBarWindow* BarWindow() const { return fBarWindow; }
static void Subscribe(const BMessenger &subscriber, BList*);
static void Subscribe(const BMessenger &subscriber,
BList*);
static void Unsubscribe(const BMessenger &subscriber);
int32 IconSize();
private:
void AddTeam(team_id team, uint32 flags, const char* sig, entry_ref*);
void AddTeam(team_id team, uint32 flags,
const char* sig, entry_ref*);
void RemoveTeam(team_id);
void InitSettings();
@@ -153,9 +156,10 @@ class TBarApp : public BApplication {
void ShowPreferencesWindow();
void ResizeTeamIcons();
void FetchAppIcon(const char* signature, BBitmap* icon);
BRect IconRect();
void FetchAppIcon(const char* signature,
BBitmap* icon);
BRect IconRect();
TBarWindow* fBarWindow;
TBarView* fBarView;
BMessenger fSwitcherMessenger;
@@ -164,7 +168,6 @@ class TBarApp : public BApplication {
BFile* fClockSettingsFile;
desk_settings fSettings;
clock_settings fClockSettings;
PreferencesWindow* fPreferencesWindow;
static BLocker sSubscriberLock;