Style cleanup in notification_server: #includes

This commit is contained in:
Alex Wilson
2012-04-01 11:54:19 +12:00
parent 617ee9eef6
commit 259ffc0252
6 changed files with 26 additions and 17 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ AppGroupView::Draw(BRect updateRect)
} }
void void
AppGroupView::MouseDown(BPoint point) AppGroupView::MouseDown(BPoint point)
{ {
if (fCloseRect.Contains(point)) { if (fCloseRect.Contains(point)) {
@@ -8,6 +8,7 @@
#include <Beep.h> #include <Beep.h>
#include <Notifications.h> #include <Notifications.h>
#include <PropertyInfo.h>
#include "NotificationWindow.h" #include "NotificationWindow.h"
#include "NotificationServer.h" #include "NotificationServer.h"
@@ -13,19 +13,24 @@
* Adrien Destugues <[email protected]> * Adrien Destugues <[email protected]>
*/ */
#include <ControlLook.h>
#include "NotificationView.h"
#include <Bitmap.h>
#include <GroupLayout.h> #include <GroupLayout.h>
#include <GroupLayoutBuilder.h>
#include <Layout.h>
#include <LayoutUtils.h> #include <LayoutUtils.h>
#include <MessageRunner.h>
#include <Messenger.h> #include <Messenger.h>
#include <Notification.h>
#include <Path.h> #include <Path.h>
#include <PropertyInfo.h>
#include <Roster.h> #include <Roster.h>
#include <StatusBar.h> #include <StatusBar.h>
#include "NotificationView.h"
#include "NotificationWindow.h" #include "NotificationWindow.h"
static const int kIconStripeWidth = 32; static const int kIconStripeWidth = 32;
property_info message_prop_list[] = { property_info message_prop_list[] = {
+7 -3
View File
@@ -10,15 +10,19 @@
#include <list> #include <list>
#include <Bitmap.h> #include <String.h>
#include <MessageRunner.h>
#include <Notification.h>
#include <View.h> #include <View.h>
class BBitmap;
class BMessageRunner;
class BNotification;
class NotificationWindow; class NotificationWindow;
const uint32 kRemoveView = 'ReVi'; const uint32 kRemoveView = 'ReVi';
class NotificationView : public BView { class NotificationView : public BView {
public: public:
NotificationView(NotificationWindow* win, NotificationView(NotificationWindow* win,
@@ -17,13 +17,15 @@
#include <Alert.h> #include <Alert.h>
#include <Application.h> #include <Application.h>
#include <Catalog.h> #include <Catalog.h>
#include <Deskbar.h>
#include <Directory.h>
#include <File.h> #include <File.h>
#include <FindDirectory.h>
#include <GroupLayout.h> #include <GroupLayout.h>
#include <Layout.h>
#include <NodeMonitor.h> #include <NodeMonitor.h>
#include <Notifications.h>
#include <Path.h> #include <Path.h>
#include <PropertyInfo.h> #include <PropertyInfo.h>
#include <private/interface/WindowPrivate.h>
#include "AppGroupView.h" #include "AppGroupView.h"
#include "AppUsage.h" #include "AppUsage.h"
@@ -12,21 +12,18 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include <Directory.h> #include <AppFileInfo.h>
#include <Deskbar.h>
#include <Entry.h>
#include <FindDirectory.h>
#include <Message.h>
#include <Notifications.h>
#include <PropertyInfo.h>
#include <String.h> #include <String.h>
#include <Window.h> #include <Window.h>
#include "NotificationView.h" #include "NotificationView.h"
class AppGroupView; class AppGroupView;
class AppUsage; class AppUsage;
struct property_info;
typedef std::map<BString, AppGroupView*> appview_t; typedef std::map<BString, AppGroupView*> appview_t;
typedef std::map<BString, AppUsage*> appfilter_t; typedef std::map<BString, AppUsage*> appfilter_t;
typedef std::vector<NotificationView*> views_t; typedef std::vector<NotificationView*> views_t;