We want to be consistent with the previous layout, to avoid needlessly breaking existing codes. The header update means client codes are not required to include all of the stepcode library includes explicitly - i.e., stepcode itself does not force this requirement with its own internal includes. However, if client codes do not want to add the library prefixes to their own includes as we have for stepcode, they should still be able to add the various includes and work as before. Adjust the include directory names accordingly.
25 lines
549 B
C++
25 lines
549 B
C++
|
|
#ifndef SESSION_INSTANCE_H
|
|
#define SESSION_INSTANCE_H 1
|
|
|
|
#include <sc_export.h>
|
|
//#include "clstepcore/sdai.h"
|
|
|
|
class SC_DAI_EXPORT SDAI_Session_instance : public SDAI_sdaiObject {
|
|
|
|
public:
|
|
int x;
|
|
|
|
SDAI_Session_instance();
|
|
virtual ~SDAI_Session_instance();
|
|
};
|
|
|
|
typedef SDAI_Session_instance * SDAI_Session_instance_ptr;
|
|
typedef SDAI_Session_instance_ptr SDAI_Session_instance_var;
|
|
|
|
// the old names
|
|
//typedef SDAI_Session_instance SDAI_SessionInstance;
|
|
//typedef SDAI_Session_instance_ptr SDAI_SessionInstanceH;
|
|
|
|
#endif
|