2015-02-15 18:53:04 +03:00
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2005-2009 Anchorite (TeamX), <anchorite2001@yandex.ru>
|
2015-02-15 21:33:27 +03:00
|
|
|
* Copyright (c) 2014-2015 Nirran, phobos2077
|
|
|
|
|
* Copyright (c) 2015 alexeevdv <mail@alexeevdv.ru>
|
2015-02-15 18:53:04 +03:00
|
|
|
* Distributed under the GNU GPL v3. For full terms see the file license.txt
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2015-02-13 16:59:11 +03:00
|
|
|
#ifndef STARTUP_CODE_H
|
|
|
|
|
#define STARTUP_CODE_H
|
|
|
|
|
|
2015-02-15 16:31:38 +03:00
|
|
|
// C++ standard includes
|
2015-02-13 16:59:11 +03:00
|
|
|
|
2015-02-15 16:31:38 +03:00
|
|
|
// int2ssl includes
|
2015-02-13 16:59:11 +03:00
|
|
|
#include "Opcode.h"
|
|
|
|
|
|
2015-02-15 16:31:38 +03:00
|
|
|
// Third party includes
|
|
|
|
|
|
2015-02-13 22:31:52 +03:00
|
|
|
class CStartupCode
|
|
|
|
|
{
|
2015-02-13 16:59:11 +03:00
|
|
|
public:
|
2015-02-13 22:31:52 +03:00
|
|
|
|
2015-02-14 13:39:47 +03:00
|
|
|
enum Defaults {
|
|
|
|
|
c_nDefaultSize = 42
|
|
|
|
|
};
|
2015-02-13 16:59:11 +03:00
|
|
|
|
2015-02-14 13:39:47 +03:00
|
|
|
CStartupCode();
|
|
|
|
|
virtual ~CStartupCode();
|
2015-02-16 00:30:55 +03:00
|
|
|
virtual void Serialize();
|
2015-02-13 16:59:11 +03:00
|
|
|
|
|
|
|
|
private:
|
2015-02-14 13:39:47 +03:00
|
|
|
COpcode m_Code[17];
|
2015-02-13 16:59:11 +03:00
|
|
|
};
|
|
|
|
|
|
2015-02-15 16:31:38 +03:00
|
|
|
#endif // STARTUP_CODE_H
|