/[svn]/linuxsampler/trunk/src/network/lscp.h
ViewVC logotype

Annotation of /linuxsampler/trunk/src/network/lscp.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2528 - (hide annotations) (download) (as text)
Mon Mar 3 12:02:40 2014 UTC (10 years, 1 month ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 2312 byte(s)
* LSCP shell: in case of multiple possibilities or non-terminal symbols,
  show them right to the current command line immediately while typing
  (no double tab required for this feature, as it would be the case in
  other shells)
* LSCP shell: fixed sluggish behavior when doing tab auto complete
* LSCP shell: fixed conflicting behavior between keyboard input and
  LSCP server evaluation result, that caused an inconsistent screen
  output (keybord input is now never printed directly on screen, only
  the result returned from LSCP server)

1 schoenebeck 35 /***************************************************************************
2     * *
3     * LinuxSampler - modular, streaming capable sampler *
4     * *
5 schoenebeck 56 * Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck *
6 schoenebeck 2515 * Copyright (C) 2014 Christian Schoenebeck *
7 schoenebeck 35 * *
8     * This program is free software; you can redistribute it and/or modify *
9     * it under the terms of the GNU General Public License as published by *
10     * the Free Software Foundation; either version 2 of the License, or *
11     * (at your option) any later version. *
12     * *
13     * This program is distributed in the hope that it will be useful, *
14     * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16     * GNU General Public License for more details. *
17     * *
18     * You should have received a copy of the GNU General Public License *
19     * along with this program; if not, write to the Free Software *
20     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
21     * MA 02111-1307 USA *
22     ***************************************************************************/
23    
24     #ifndef __LSCP_H__
25     #define __LSCP_H__
26    
27     //TODO: obvious ;) all error and warning codes have to be defined
28    
29     // Error Codes
30    
31     #define LSCP_ERR_UNKNOWN 0 ///< unknown error type
32    
33    
34     // Warning Codes
35    
36     #define LSCP_WRN_UNKNOWN 0 ///< unknown warning type
37    
38    
39 schoenebeck 2515 // LSCP Shell Codes
40    
41     #define LSCP_SHU_COMPLETE 0
42     #define LSCP_SHU_SYNTAX_ERR 1
43     #define LSCP_SHU_INCOMPLETE 2
44    
45     // LSCP Shell Keywords
46    
47     #define LSCP_SHK_GOOD_FRONT "{{GF}}"
48 schoenebeck 2516 #define LSCP_SHK_CURSOR "{{CU}}"
49     #define LSCP_SHK_SUGGEST_BACK "{{SB}}"
50 schoenebeck 2528 #define LSCP_SHK_POSSIBILITIES_BACK "{{PB}}"
51 schoenebeck 2515 #define LSCP_SHK_EXPECT_MULTI_LINE "SHE:MLINE"
52    
53 schoenebeck 35 #endif // __LSCP_H__

  ViewVC Help
Powered by ViewVC