From b2bf8f450414553872f2ba3ab8905ee927be68cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 28 Jul 2014 12:51:11 +0200 Subject: [PATCH] webwatch: Style cleanup --- src/apps/webwatch/WatchApp.cpp | 4 ---- src/apps/webwatch/WatchView.cpp | 12 ------------ 2 files changed, 16 deletions(-) diff --git a/src/apps/webwatch/WatchApp.cpp b/src/apps/webwatch/WatchApp.cpp index 4aa508c672..bcb4e82337 100644 --- a/src/apps/webwatch/WatchApp.cpp +++ b/src/apps/webwatch/WatchApp.cpp @@ -26,14 +26,12 @@ #include "WatchApp.h" #include "WatchView.h" -/////////////////////////////////////////////////////////////////////////////// BView* instantiate_deskbar_item() { return new WatchView; } -/////////////////////////////////////////////////////////////////////////////// WatchApp::WatchApp() : BApplication(APP_SIGNATURE) { @@ -56,7 +54,6 @@ WatchApp::WatchApp() : BApplication(APP_SIGNATURE) PostMessage(B_QUIT_REQUESTED); } -/////////////////////////////////////////////////////////////////////////////// int main() { @@ -65,4 +62,3 @@ int main() return 0; } -/////////////////////////////////////////////////////////////////////////////// diff --git a/src/apps/webwatch/WatchView.cpp b/src/apps/webwatch/WatchView.cpp index ad5f3b441a..e2bda77cc7 100644 --- a/src/apps/webwatch/WatchView.cpp +++ b/src/apps/webwatch/WatchView.cpp @@ -36,7 +36,6 @@ const rgb_color COLOR_FOREGROUND = { 0, 0, 0 }; -/////////////////////////////////////////////////////////////////////////////// WatchView::WatchView() : @@ -44,7 +43,6 @@ WatchView::WatchView() { } -/////////////////////////////////////////////////////////////////////////////// WatchView::WatchView(BMessage* message) : BView( @@ -66,7 +64,6 @@ WatchView::WatchView(BMessage* message) SetViewColor(B_TRANSPARENT_COLOR); } -/////////////////////////////////////////////////////////////////////////////// WatchView* WatchView::Instantiate(BMessage* archive) { @@ -78,7 +75,6 @@ WatchView* WatchView::Instantiate(BMessage* archive) return NULL; } -/////////////////////////////////////////////////////////////////////////////// status_t WatchView::Archive(BMessage* archive, bool deep) const { @@ -90,7 +86,6 @@ status_t WatchView::Archive(BMessage* archive, bool deep) const return B_OK; } -/////////////////////////////////////////////////////////////////////////////// void WatchView::Draw(BRect updateRect) { @@ -116,7 +111,6 @@ void WatchView::Draw(BRect updateRect) DrawString(string, BPoint(x, y)); } -/////////////////////////////////////////////////////////////////////////////// void WatchView::MouseDown(BPoint point) { @@ -137,7 +131,6 @@ void WatchView::MouseDown(BPoint point) delete menu; } -/////////////////////////////////////////////////////////////////////////////// void WatchView::MessageReceived(BMessage* msg) { @@ -149,7 +142,6 @@ void WatchView::MessageReceived(BMessage* msg) } } -/////////////////////////////////////////////////////////////////////////////// void WatchView::OnAboutRequested() { @@ -164,7 +156,6 @@ void WatchView::OnAboutRequested() alert->Go(NULL); } -/////////////////////////////////////////////////////////////////////////////// void WatchView::OnQuitRequested() { @@ -177,7 +168,6 @@ void WatchView::OnQuitRequested() deskbar.RemoveItem(DESKBAR_ITEM_NAME); } -/////////////////////////////////////////////////////////////////////////////// void WatchView::Pulse() { @@ -189,7 +179,6 @@ void WatchView::Pulse() } } -/////////////////////////////////////////////////////////////////////////////// int32 WatchView::GetInternetTime() { @@ -202,4 +191,3 @@ int32 WatchView::GetInternetTime() return (int32) (((real_time_clock() + 3600) % 86400) / 86.4); } -///////////////////////////////////////////////////////////////////////////////