Skip to content

Commit 11c59b5

Browse files
committed
clang-format
1 parent cd92cc9 commit 11c59b5

File tree

1 file changed

+33
-34
lines changed

1 file changed

+33
-34
lines changed

sources/Application/Model/Project.h

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -26,45 +26,44 @@
2626

2727
class Project: public Persistent,public VariableContainer,I_Observer {
2828
public:
29-
Project() ;
30-
~Project() ;
31-
void Purge() ;
32-
void PurgeInstruments(bool removeFromDisk) ;
29+
Project();
30+
~Project();
31+
void Purge();
32+
void PurgeInstruments(bool removeFromDisk);
3333

34-
Song *song_ ;
35-
36-
int GetMasterVolume() ;
37-
bool Wrap() ;
38-
void OnTempoTap();
39-
void NudgeTempo(int value) ;
40-
int GetScale();
41-
int GetTempo() ; // Takes nudging into account
42-
int GetTranspose() ;
43-
int GetSoftclip();
44-
int GetSoftclipGain();
45-
int GetPregain();
34+
Song *song_;
4635

47-
void Trigger();
36+
int GetMasterVolume();
37+
bool Wrap();
38+
void OnTempoTap();
39+
void NudgeTempo(int value);
40+
int GetScale();
41+
int GetTempo(); // Takes nudging into account
42+
int GetTranspose();
43+
int GetSoftclip();
44+
int GetSoftclipGain();
45+
int GetPregain();
4846

49-
// I_Observer
50-
virtual void Update(Observable &o,I_ObservableData *d);
51-
52-
InstrumentBank* GetInstrumentBank() ;
53-
virtual void SaveContent(TiXmlNode *node) ;
54-
virtual void RestoreContent(TiXmlElement *element);
47+
void Trigger();
5548

56-
void LoadFirstGen(const char *root) ;
49+
// I_Observer
50+
virtual void Update(Observable &o, I_ObservableData *d);
51+
52+
InstrumentBank *GetInstrumentBank();
53+
virtual void SaveContent(TiXmlNode *node);
54+
virtual void RestoreContent(TiXmlElement *element);
55+
56+
void LoadFirstGen(const char *root);
5757

5858
protected:
59-
void buildMidiDeviceList() ;
60-
private:
61-
InstrumentBank *instrumentBank_ ;
62-
char **midiDeviceList_ ;
63-
int midiDeviceListSize_ ;
64-
int tempoNudge_ ;
65-
unsigned long lastTap_[MAX_TAP] ;
66-
unsigned int tempoTapCount_ ;
67-
} ;
59+
void buildMidiDeviceList();
6860

61+
private:
62+
InstrumentBank *instrumentBank_;
63+
char **midiDeviceList_;
64+
int midiDeviceListSize_;
65+
int tempoNudge_;
66+
unsigned long lastTap_[MAX_TAP];
67+
unsigned int tempoTapCount_;
68+
};
6969
#endif
70-

0 commit comments

Comments
 (0)