ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
538 B

  1. #ifndef CPPCMS_SESSIOM_MEMORY_STORAGE_H
  2. #define CPPCMS_SESSIOM_MEMORY_STORAGE_H
  3. #include "defs.h"
  4. #include "session_storage.h"
  5. namespace cppcms {
  6. namespace sessions {
  7. class CPPCMS_API session_memory_storage_factory : public session_storage_factory {
  8. public:
  9. session_memory_storage_factory();
  10. virtual intrusive_ptr<session_storage> get();
  11. virtual bool requires_gc();
  12. virtual void gc_job();
  13. virtual ~session_memory_storage_factory();
  14. private:
  15. intrusive_ptr<session_storage> storage_;
  16. };
  17. } // sessions
  18. } // cppcms
  19. #endif