Checkpoint/include/common.h

55 lines
1.5 KiB
C
Raw Normal View History

2017-09-29 07:45:56 +00:00
/* This file is part of Checkpoint
> Copyright (C) 2017 Bernardo Giordano
>
> 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/>.
> See LICENSE for information.
*/
#ifndef COMMON_H
#define COMMON_H
#include <3ds.h>
#include <algorithm>
#include <codecvt>
#include <locale>
2017-12-22 21:30:37 +00:00
#include <memory>
2017-09-29 07:45:56 +00:00
#include <sstream>
2017-12-22 21:30:37 +00:00
#include <stdarg.h>
2017-09-29 07:45:56 +00:00
#include <stdlib.h>
#include <string>
#include <sys/stat.h>
#include <vector>
#include "archive.h"
#include "clickable.h"
#include "datetime.h"
#include "directory.h"
#include "fsstream.h"
#include "gui.h"
#include "hid.h"
2017-09-29 20:58:55 +00:00
#include "info.h"
2017-10-06 18:16:15 +00:00
#include "messagebox.h"
2017-10-17 20:59:50 +00:00
#include "../source/pp2d/pp2d.h"
2017-09-29 07:45:56 +00:00
#include "scrollable.h"
#include "smdh.h"
2017-10-04 11:18:41 +00:00
#include "spi.h"
2017-09-29 07:45:56 +00:00
#include "stringutil.h"
#include "swkbd.h"
#include "thread.h"
#include "title.h"
#include "util.h"
2017-09-29 20:58:55 +00:00
void createInfo(std::string title, std::string message);
2017-09-29 07:45:56 +00:00
void createError(Result res, std::string message);
#endif