Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
PersistFactoryClass.h
1/* Renegade Scripts.dll
2 Copyright 2013 Tiberian Technologies
3
4 This file is part of the Renegade scripts.dll
5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#ifndef __PERSISTFACTORYCLASS_H__
13#define __PERSISTFACTORYCLASS_H__
14#include "scripts.h"
15#include "engine_common.h"
16#include "engine_vector.h"
17#include "engine_io.h"
18#include "engine_threading.h"
19#include "engine_string.h"
20class PersistClass;
21class PersistFactoryClass
22{
23public:
24 PersistFactoryClass* NextFactory;
25 PersistFactoryClass();
26 virtual ~PersistFactoryClass();
27 virtual uint32 Chunk_ID() const = 0;
28 virtual PersistClass* Load (ChunkLoadClass& xLoad) const = 0;
29 virtual void Save (ChunkSaveClass& xSave, PersistClass*) const = 0;
30};
31
32
33#endif