HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VOP_CodeCompilerArgs.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: VOP_CodeCompilerArgs.h ( VOP Library, C++)
7  *
8  * COMMENTS: Data for expanding local variables when evaluating the compiler
9  * parameter.
10  */
11 
12 #ifndef __VOP_CodeCompilerArgs__
13 #define __VOP_CodeCompilerArgs__
14 
15 #include "VOP_API.h"
16 
17 #include <UT/UT_WorkBuffer.h>
18 class UT_StringArray;
19 
20 enum {
26 };
27 
29 public:
30  VOP_CodeCompilerArgs(const char *src, const char *obj, const char *err,
31  UT_StringArray *incs)
32  {
33  mySourceFile = src;
34  myObjectFile = obj;
35  myErrorFile = err;
36  myIncDirs = incs;
37  }
38 
39  const char *getSource() const { return mySourceFile; }
40  const char *getObject() const { return myObjectFile; }
41  const char *getError() const { return myErrorFile; }
42  const char *getIncludes();
43 
44  const char *mySourceFile; // Source file
45  const char *myObjectFile; // Desired object file
46  const char *myErrorFile; // File for log of errors
47  UT_StringArray *myIncDirs; // Include directories.
48  UT_WorkBuffer myWorkBuffer; // For expanded include paths
49 };
50 
51 #endif
52 
UT_StringArray * myIncDirs
#define VOP_API
Definition: VOP_API.h:10
const char * getSource() const
const char * getObject() const
const char * getError() const
VOP_CodeCompilerArgs(const char *src, const char *obj, const char *err, UT_StringArray *incs)
GLenum src
Definition: glcorearb.h:1793