Ticket #7052: Deskbar_BeMenu_h_style_fix.diff

File Deskbar_BeMenu_h_style_fix.diff, 2.0 KB (added by jscipione, 13 years ago)
  • src/apps/deskbar/BeMenu.h

    diff --git a/src/apps/deskbar/BeMenu.h b/src/apps/deskbar/BeMenu.h
    index 276275d..9612a04 100644
    a b Except as contained in this notice, the name of Be Incorporated shall not be  
    2626used in advertising or otherwise to promote the sale, use or other dealings in
    2727this Software without prior written authorization from Be Incorporated.
    2828
    29 Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
    30 of Be Incorporated in the United States and other countries. Other brand product
    31 names are registered trademarks or trademarks of their respective holders.
     29Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered
     30trademarks of Be Incorporated in the United States and other countries. Other
     31brand product names are registered trademarks or trademarks of their respective
     32holders.
    3233All rights reserved.
    3334*/
    3435
    All rights reserved.  
    4243class TBarView;
    4344
    4445enum recent_type {
    45     kRecentDocuments    = 0,
     46    kRecentDocuments = 0,
    4647    kRecentApplications,
    4748    kRecentFolders,
    4849    kRecentAppDocuments
    class TRecentsMenu : public BNavMenu {  
    7677
    7778        int32           fItemIndex;
    7879        BMessage        fRecentList;
    79        
     80
    8081        TBarView        *fBarView;
    8182};
    8283
    class TBeMenu : public BNavMenu {  
    102103        void            AttachedToWindow();
    103104        void            DetachedFromWindow();
    104105
    105         void            ResetTargets();     
     106        void            ResetTargets();
    106107
    107108        static BMessenger DefaultTarget();
    108109
    class TBeMenu : public BNavMenu {  
    118119
    119120        bool            AddStandardBeMenuItems();
    120121
    121     private:       
    122         virtual bool    StartBuildingItemList();
     122    private:
     123        virtual bool    StartBuildingItemList();
    123124        virtual void    DoneBuildingItemList();
    124         virtual bool    AddNextItem();
    125         virtual void    ClearMenuBuildingState();
     125        virtual bool    AddNextItem();
     126        virtual void    ClearMenuBuildingState();
    126127
    127         //  to keep track of the menu building state
    128         State           fAddState; 
    129         TBarView        *fBarView;
     128        // to keep track of the menu building state
     129        State           fAddState;
     130        TBarView*       fBarView;
    130131};
    131132
    132133#endif  /* _BE_MENU_H_ */