File: global-preset.h

package info (click to toggle)
ecasound 2.9.1-7
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,652 kB
  • ctags: 6,128
  • sloc: cpp: 39,403; sh: 10,512; ansic: 2,040; lisp: 1,918; makefile: 909; python: 611; ruby: 202
file content (27 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef INCLUDED_GLOBAL_PRESET_H
#define INCLUDED_GLOBAL_PRESET_H

#include "preset.h"

/**
 * Effect preset that is read from a global 
 * preset database.
 *
 * @author Kai Vehmanen
 */
class GLOBAL_PRESET : public PRESET {

 private:

  std::string preset_name_rep;

 public:

  virtual GLOBAL_PRESET* clone(void) const;
  virtual GLOBAL_PRESET* new_expr(void) const { return(new GLOBAL_PRESET(preset_name_rep)); }
  virtual ~GLOBAL_PRESET (void) { }

  GLOBAL_PRESET(const std::string& preset_name = "");
};

#endif