Ignore:
Timestamp:
11/24/11 14:45:29 (8 years ago)
Author:
mario
Message:

added minimal changes to compile on a POSIX like OS (mainly Linux)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/legacy/jvmlink/src/main/c++/JVMLinkObject.h

    r3834 r7812  
    3333#pragma once 
    3434 
     35#include <string> 
     36#include <vector> 
     37 
     38 
    3539enum Command { 
    3640        BYTE_ORDER_CMD = 0, 
     
    6468 
    6569public: 
    66         JVMLinkObject(CString); 
    67         JVMLinkObject(CString, Type, void*); 
    68         JVMLinkObject(CString, Type, int, void*); 
     70        JVMLinkObject(std::string); 
     71        JVMLinkObject(std::string, Type, void*); 
     72        JVMLinkObject(std::string, Type, int, void*); 
    6973 
    7074        ~JVMLinkObject(void); 
    7175 
    72         CString name; 
     76        std::string name; 
    7377        int size, length; 
    7478        Type type, insideType; 
     
    7781        int getDataAsInt(); 
    7882        int* getDataAsIntArray(); 
    79         CString* getDataAsString(); 
    80         CString* getDataAsStringArray(); 
     83        std::string* getDataAsString(); 
     84        std::string* getDataAsStringArray(); 
    8185        char getDataAsChar(); 
    8286        char* getDataAsCharArray(); 
Note: See TracChangeset for help on using the changeset viewer.