£ ¥ ¢ –ß‚é –ÚŽŸ‚Ö
˜5.1.1 begintext.cc
£ ¥ ¢ –ß‚é –ÚŽŸ‚Ö

 1: /******************************************************************************
 2:   ezht - Copyright (C) 2004 Tradcrafts
 3:   This file is part of the ezht.
 4:                                                                        
 5:   ezht is free software; you can redistribute it and/or modify
 6:   it under the terms of the GNU General Public License as published by the 
 7:   Free Software Foundation;   either version 2 of the License,  or (at your 
 8:   option) any later version.
 9: 
10:   ezht is distributed in the hope that it will be useful, but 
11:   WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12:   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13:   more details.
14: 
15:   You should have received a copy of the GNU General Public License along with
16:   this program; see the file COPYING.  If not, write to the Free Software 
17:   Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18: ******************************************************************************/
19: 
20: #include "include.h"
21: #include "error.h"
22: #include "reader.h"
23: 
24: void cmd_begintext(std::vector<std::string> &args)
25: {
26: 
27:   if( args.size() > 1 ){
28:     error("@begintext: too many arguments"); return;
29:   }
30: 
31:   reader.set_current_readopt(READOPT_TEXTMODE);
32: }




Copyright 2004 Tradcrafts. ALL RIGHTS RESERVED.