45 lines
No EOL
1.4 KiB
C++
45 lines
No EOL
1.4 KiB
C++
/*
|
|
Header ReferentialMessage : Class to store referential to decode message
|
|
|
|
Copyright (C) 2019 AleaJactaEst
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
#ifndef REFERENTIAL_MESSAGE_H
|
|
#define REFERENTIAL_MESSAGE_H
|
|
|
|
#include "core/reference.h"
|
|
//#include "core/dictionary.h"
|
|
//#include "modules/bitstream/bitstream.h"
|
|
#include "modules/referentialmessage/referentialmessagecore.h"
|
|
|
|
class ReferentialMessage : public Reference {
|
|
GDCLASS(ReferentialMessage, Reference)
|
|
protected:
|
|
static void _bind_methods();
|
|
public:
|
|
ReferentialMessage() {}
|
|
~ReferentialMessage() {}
|
|
|
|
/* _init must exist as it is called by Godot */
|
|
void _init() {};
|
|
void read_referential(Dictionary dictionary_message);
|
|
void show();
|
|
|
|
void clear_session();
|
|
};
|
|
|
|
#endif |