~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/resources/sdlmusic.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    public:
38
38
        SDLMusic() :
39
39
            Resource(),
40
 
            mMusic(nullptr)
 
40
            mMusic(nullptr),
 
41
            mRw(nullptr)
41
42
        { }
42
43
 
43
44
        A_DELETE_COPY(SDLMusic)
45
46
        /**
46
47
         * Destructor.
47
48
         */
48
 
        virtual ~SDLMusic();
 
49
        ~SDLMusic();
49
50
 
50
51
        /**
51
52
         * Loads a music from a buffer in memory.
73
74
        /**
74
75
         * Constructor.
75
76
         */
76
 
        explicit SDLMusic(Mix_Music *const music);
 
77
        explicit SDLMusic(Mix_Music *const music, SDL_RWops *const rw);
77
78
 
78
79
        Mix_Music *mMusic;
 
80
        SDL_RWops *mRw;
79
81
};
80
82
 
81
83
#endif  // RESOURCES_SDLMUSIC_H