Ignore:
Timestamp:
04/04/15 20:40:02 (9 years ago)
Author:
Maciej Komosinski
Message:

Code formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/util/advlist.h

    r286 r343  
    1919/// sorting functions moved to SortView class
    2020
    21 class AdvList: public SList
     21class AdvList : public SList
    2222{
    2323public:
    24 Callback l_add, l_del, l_mod, l_postdel;
    25 void remove(int);
    26 virtual void mod(int=-1); ///< call this when you change one or more elements in list (-1 means all elements)
    27 void clear();
    28 AdvList() {}
    29 ~AdvList() {clear();}
    30 int operator+=(void*);
    31 void operator-=(void*);
    32 void operator-=(int i) {remove(i);}
     24        Callback l_add, l_del, l_mod, l_postdel;
     25        void remove(int);
     26        virtual void mod(int = -1); ///< call this when you change one or more elements in list (-1 means all elements)
     27        void clear();
     28        AdvList() {}
     29        ~AdvList() { clear(); }
     30        int operator+=(void*);
     31        void operator-=(void*);
     32        void operator-=(int i) { remove(i); }
    3333};
    3434
Note: See TracChangeset for help on using the changeset viewer.