diff options
author | fluxgen <fluxgen> | 2002-11-24 20:57:32 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-24 20:57:32 (GMT) |
commit | 451ea7e5b853db9a20ee93e28e3e5a11caf0bf73 (patch) | |
tree | 2c2770cc4e729303f425a152d451be34bc2ccf1a /src | |
parent | fafc0a6e49c3d4c31f05191313266bb0bbf86377 (diff) | |
download | fluxbox-451ea7e5b853db9a20ee93e28e3e5a11caf0bf73.zip fluxbox-451ea7e5b853db9a20ee93e28e3e5a11caf0bf73.tar.bz2 |
auto_ptr for slit variable
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index 2855e1b..a2996b5 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.hh,v 1.49 2002/11/16 22:13:19 fluxgen Exp $ | 25 | // $Id: Screen.hh,v 1.50 2002/11/24 20:57:32 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
@@ -109,8 +109,8 @@ public: | |||
109 | #ifdef SLIT | 109 | #ifdef SLIT |
110 | inline bool isSlitOnTop() const { return resource.slit_on_top; } | 110 | inline bool isSlitOnTop() const { return resource.slit_on_top; } |
111 | inline bool doSlitAutoHide() const { return resource.slit_auto_hide; } | 111 | inline bool doSlitAutoHide() const { return resource.slit_auto_hide; } |
112 | inline Slit *getSlit() { return slit; } | 112 | inline Slit *getSlit() { return m_slit.get(); } |
113 | inline const Slit *getSlit() const { return slit; } | 113 | inline const Slit *getSlit() const { return m_slit.get(); } |
114 | inline int getSlitPlacement() const { return resource.slit_placement; } | 114 | inline int getSlitPlacement() const { return resource.slit_placement; } |
115 | inline int getSlitDirection() const { return resource.slit_direction; } | 115 | inline int getSlitDirection() const { return resource.slit_direction; } |
116 | inline void saveSlitPlacement(int p) { resource.slit_placement = p; } | 116 | inline void saveSlitPlacement(int p) { resource.slit_placement = p; } |
@@ -332,7 +332,7 @@ private: | |||
332 | Icons iconList; | 332 | Icons iconList; |
333 | 333 | ||
334 | #ifdef SLIT | 334 | #ifdef SLIT |
335 | Slit *slit; | 335 | std::auto_ptr<Slit> m_slit; |
336 | #endif // SLIT | 336 | #endif // SLIT |
337 | 337 | ||
338 | std::auto_ptr<Toolbar> m_toolbar; | 338 | std::auto_ptr<Toolbar> m_toolbar; |