Debian Codegraph @

src/host/chuck_console.h

raw symbols SCIP
1 /*----------------------------------------------------------------------------
2 ChucK Strongly-timed Audio Programming Language
3 Compiler, Virtual Machine, and Synthesis Engine
4
5 Copyright (c) 2003 Ge Wang and Perry R. Cook. All rights reserved.
6 http://chuck.stanford.edu/
7 http://chuck.cs.princeton.edu/
8
9 This program is free software; you can redistribute it and/or modify
10 it under the dual-license terms of EITHER the MIT License OR the GNU
11 General Public License (the latter as published by the Free Software
12 Foundation; either version 2 of the License or, at your option, any
13 later version).
14
15 This program is distributed in the hope that it will be useful and/or
16 interesting, but WITHOUT ANY WARRANTY; without even the implied warranty
17 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 MIT Licence and/or the GNU General Public License for details.
19
20 You should have received a copy of the MIT License and the GNU General
21 Public License (GPL) along with this program; a copy of the GPL can also
22 be obtained by writing to the Free Software Foundation, Inc., 59 Temple
23 Place, Suite 330, Boston, MA 02111-1307 U.S.A.
24 -----------------------------------------------------------------------------*/
25
26 //-----------------------------------------------------------------------------
27 // file: chuck_console.h
28 // desc: chuck command line console
29 //
30 // author: Spencer Salazar ([email protected])
31 // date: Autumn 2005
32 //-----------------------------------------------------------------------------
33 #ifndef __CHUCK_CONSOLE_H__
34 #define __CHUCK_CONSOLE_H__
35
36 #include "chuck_def.h"
37 #include "chuck_shell.h"
38
39
40
41
42 //-----------------------------------------------------------------------------
43 // name: class Chuck_Console
44 // desc: for ttyp access to chuck shell
45 //-----------------------------------------------------------------------------
46 class Chuck_Console : public Chuck_Shell_UI
47 {
48 public:
49 Chuck_Console();
50 virtual ~Chuck_Console();
51
52 t_CKBOOL init();
53 t_CKBOOL next_command( const string &, string &);
54 void next_result(const string &);
55
56 };
57
58
59
60
61 #endif //__CHUCK_CONSOLE_H__