Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/Getline.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* @(#)root/textinput:$Id$ */
0002 /* Author: Axel Naumann <axel@cern.ch>, 2011-05-21 */
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2011, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_Getline
0013 #define ROOT_Getline
0014 
0015 #include "DllImport.h"
0016 
0017 #ifdef __cplusplus
0018 extern "C" {
0019 #endif
0020 
0021 typedef enum { kInit = -1, kLine1, kOneChar, kCleanUp, kClear } EGetLineMode;
0022 
0023 const char *Getline(const char *prompt);
0024 const char *Getlinem(EGetLineMode mode, const char *prompt);
0025 void Gl_config(const char *which, int value);
0026 void Gl_setwidth(int width);
0027 void Gl_windowchanged();
0028 void Gl_histsize(int size, int save);
0029 void Gl_histinit(const char *file);
0030 void Gl_histadd(const char *buf);
0031 int  Gl_eof();
0032 void Gl_setColors(const char* colorTab, const char* colorTabComp, const char* colorBracket,
0033                   const char* colorBadBracket, const char* colorPrompt);
0034 
0035 R__EXTERN int (*Gl_beep_hook)();
0036 R__EXTERN int (*Gl_in_key)(int key);
0037 
0038 #ifdef __cplusplus
0039 }
0040 #endif
0041 
0042 #endif