diff options
Diffstat (limited to 'src/instrument.h')
-rw-r--r-- | src/instrument.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/instrument.h b/src/instrument.h index 0441ed4..e18c14a 100644 --- a/src/instrument.h +++ b/src/instrument.h @@ -42,8 +42,6 @@ class Instrument { - friend class InstrumentParser; - friend class DrumKitParser; public: Instrument(Settings& settings, Random& rand); ~Instrument(); @@ -66,6 +64,13 @@ public: std::size_t getNumberOfFiles() const; private: + // For parser: + friend class InstrumentParser; + friend class DrumKitParser; + + // For unit-tests: + friend class InstrumentParserTest; + void* magic; std::string _group; |