Changeset 200 for trunk/src/MainFrame.h


Ignore:
Timestamp:
05/04/2009 08:56:21 AM (3 years ago)
Author:
guyru
Message:

Make use of boost::scoped_pointer in MainFrame?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MainFrame.h

    r199 r200  
    2727#ifndef OPENYAHTZEE_MAIN_FRAME_INC 
    2828#define OPENYAHTZEE_MAIN_FRAME_INC 
     29#include <memory> 
     30#include <boost/scoped_ptr.hpp> 
    2931#include "ScoreDice.h" 
    3032#include "configuration.h" 
     
    8284        ScoreDice m_score_dice; 
    8385 
    84         configuration::Configuration *m_config; 
    85         statistics::Statistics *m_stats; 
     86        boost::scoped_ptr<configuration::Configuration> m_config; 
     87        boost::scoped_ptr<statistics::Statistics> m_stats; 
    8688 
    8789private: 
Note: See TracChangeset for help on using the changeset viewer.