/[ascend]/trunk/pygtk/compiler.h
ViewVC logotype

Diff of /trunk/pygtk/compiler.h

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

revision 1045 by johnpye, Fri Jul 14 06:07:14 2006 UTC revision 1046 by johnpye, Fri Jan 5 11:15:16 2007 UTC
# Line 13  Line 13 
13      The GUI must also access the Compiler object when it wants to set      The GUI must also access the Compiler object when it wants to set
14      configuration options.      configuration options.
15  */  */
16    
17    #include <string>
18    
19  class Compiler{  class Compiler{
20  private:  private:
21      Compiler();      Compiler();
22      ~Compiler();      ~Compiler();
23    
24        /* options for bintoken compilation */
25        bool use_bintoken;
26        bool bintoken_options_sent;
27        std::string bt_targetstem;
28        std::string bt_srcname;
29        std::string bt_objname;
30        std::string bt_libname;
31        std::string bt_cmd;
32        std::string bt_rm;
33    
34    protected:
35        friend class Type;
36        void sendBinaryCompilationOptions(); /* pass them down to libascend */
37  public:  public:
38      static Compiler *instance();      static Compiler *instance(); /* (as in singleton pattern) */
39    
40      const bool getUseRelationSharing() const;      const bool getUseRelationSharing() const;
41      void setUseRelationSharing(const bool&);      void setUseRelationSharing(const bool&);
42    
43        void setBinaryCompilation(const bool&);
44  };  };
45    
46  /** Compiler access function for use with Python */  /** Compiler access function for use with Python */

Legend:
Removed from v.1045  
changed lines
  Added in v.1046

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22