Don't expose global modules' con/destructors

This is just a small change to make the C++ API
match the binding counterparts more closely.
This commit is contained in:
Jonas Kulla 2013-12-05 00:34:11 +01:00
parent 5fca94616c
commit 648684e4aa
3 changed files with 15 additions and 9 deletions

View file

@ -37,9 +37,6 @@ struct AudioPrivate;
class Audio
{
public:
Audio();
~Audio();
void bgmPlay(const char *filename,
int volume = 100,
int pitch = 100
@ -78,6 +75,11 @@ public:
#endif
private:
Audio();
~Audio();
friend struct SharedStatePrivate;
AudioPrivate *p;
};