private:
std::map<const char*, const char*, ltstr> _properties;
+private:
+ // Don't allow to copy the properties.
+ Properties(const Properties&);
+
public:
Properties();
// Static function.
- void put(java_handle_t* p, const char* key, const char* value);
+ static void put(java_handle_t* p, const char* key, const char* value);
void put(const char* key, const char* value);
const char* get(const char* key);
#endif
};
-#else
-
-typedef struct Properties Properties;
-
-void Properties_put(const char *key, const char *value);
-const char *Properties_get(const char *key);
-
#endif
#endif // _PROPERTIES_HPP