/[svn]/linuxsampler/trunk/src/global.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/global.h

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

revision 34 by schoenebeck, Mon Feb 16 19:30:42 2004 UTC revision 35 by schoenebeck, Fri Mar 5 13:46:15 2004 UTC
# Line 50  typedef int16_t sample_t; Line 50  typedef int16_t sample_t;
50    
51  typedef std::string String;  typedef std::string String;
52    
53    /**
54     * Wether a function / method call was successful, or if warnings or even an
55     * error occured.
56     */
57    enum result_type_t {
58        result_type_success,
59        result_type_warning,
60        result_type_error
61    };
62    
63    /**
64     * Used whenever a detailed description of the result of a function / method
65     * call is needed.
66     */
67    struct result_t {
68        result_type_t type;     ///< success, warning or error
69        int           code;     ///< warning or error code
70        String        message;  ///< detailed warning or error message
71    };
72    
73  #endif // __GLOBAL_H__  #endif // __GLOBAL_H__

Legend:
Removed from v.34  
changed lines
  Added in v.35

  ViewVC Help
Powered by ViewVC