|
PieDock 1.6.0
|
00001 /* 00002 * O ,- 00003 * ° o . -´ ' ,- 00004 * ° .´ ` . ´,´ 00005 * ( ° )) . ( 00006 * `-;_ . -´ `.`. 00007 * `._' ´ 00008 * 00009 * Copyright (c) 2007-2011 Markus Fisch <mf@markusfisch.de> 00010 * 00011 * Licensed under the MIT license: 00012 * http://www.opensource.org/licenses/mit-license.php 00013 */ 00014 #ifndef _PieDock_MenuItems_ 00015 #define _PieDock_MenuItems_ 00016 00017 #include "MenuItem.h" 00018 00019 #include <list> 00020 00021 namespace PieDock 00022 { 00028 class MenuItems : public std::list<MenuItem *> 00029 { 00030 public: 00031 MenuItems() : windows( false ), one( false ), only( false ) {} 00032 virtual ~MenuItems() {} 00033 inline const bool &includeWindows() const { 00034 return windows; } 00035 inline void setIncludeWindows( bool w ) { windows = w; } 00036 inline const bool &oneIconPerWindow() const { 00037 return one; } 00038 inline void setOneIconPerWindow( bool o ) { one = o; } 00039 inline const bool &onlyFromActive() const { 00040 return only; } 00041 inline void setOnlyFromActive( bool o ) { only = o; } 00042 00043 private: 00044 bool windows; 00045 bool one; 00046 bool only; 00047 }; 00048 } 00049 00050 #endif
1.7.3