AUDIO: Small const correctness improvement
This commit is contained in:
parent
d942d49a76
commit
07d734edf7
1 changed files with 4 additions and 4 deletions
|
@ -42,10 +42,10 @@ class MusicDevice {
|
||||||
public:
|
public:
|
||||||
MusicDevice(MusicPluginObject const *musicPlugin, Common::String name, MusicType mt);
|
MusicDevice(MusicPluginObject const *musicPlugin, Common::String name, MusicType mt);
|
||||||
|
|
||||||
Common::String &getName() { return _name; }
|
const Common::String &getName() const { return _name; }
|
||||||
Common::String &getMusicDriverName() { return _musicDriverName; }
|
const Common::String &getMusicDriverName() const { return _musicDriverName; }
|
||||||
Common::String &getMusicDriverId() { return _musicDriverId; }
|
const Common::String &getMusicDriverId() const { return _musicDriverId; }
|
||||||
MusicType getMusicType() { return _type; }
|
MusicType getMusicType() const { return _type; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a user readable string that contains the name of the current
|
* Returns a user readable string that contains the name of the current
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue