/[svn]/qsampler/trunk/src/qsamplerOptions.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerOptions.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1749 by capela, Wed Jul 2 13:19:09 2008 UTC revision 1890 by capela, Tue Apr 28 09:06:43 2009 UTC
# Line 1  Line 1 
1  // qsamplerOptions.h  // qsamplerOptions.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2008, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2009, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, Christian Schoenebeck     Copyright (C) 2007, Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 49  public: Line 49  public:
49          QSettings& settings();          QSettings& settings();
50    
51          // Command line arguments parser.          // Command line arguments parser.
52          bool parse_args(int argc, char **argv);          bool parse_args(const QStringList& args);
53          // Command line usage helper.          // Command line usage helper.
54          void print_usage(const char *arg0);          void print_usage(const QString& arg0);
55    
56          // Startup supplied session file.          // Startup supplied session file.
57          QString sSessionFile;          QString sSessionFile;
# Line 114  public: Line 114  public:
114          void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);          void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);
115          void saveComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);          void saveComboBoxHistory(QComboBox *pComboBox, int iLimit = 8);
116    
117            int  getMaxVoices();
118            int  getEffectiveMaxVoices();
119            void setMaxVoices(int iMaxVoices);
120    
121            int  getMaxStreams();
122            int  getEffectiveMaxStreams();
123            void setMaxStreams(int iMaxStreams);
124    
125            void sendFineTuningSettings();
126    
127  private:  private:
128    
129          // Settings member variables.          // Settings member variables.
130          QSettings m_settings;          QSettings m_settings;
131    
132            // Tuning
133            int iMaxVoices;
134            int iMaxStreams;
135  };  };
136    
137  } // namespace QSampler  } // namespace QSampler

Legend:
Removed from v.1749  
changed lines
  Added in v.1890

  ViewVC Help
Powered by ViewVC