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:
parent
5fca94616c
commit
648684e4aa
3 changed files with 15 additions and 9 deletions
src
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue