summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-03 13:35:02 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 13:35:02 -0500
commit38d2f87b31ba4af8f6ecb73e0432460778e26f82 (patch)
tree4de2421cf431da5b66cc6a0baeaac2bc79ddf165 /src/shared
parenta4747a1ecc9f4fe56700c64933cc3c6cebd04734 (diff)
replaced #pragma once by ifdefs
changed pointer to ref to NexusInterface on_actionChange_Game_triggered() now creates the dialog itself instead of calling test code fixed broken command line options, they'd be reset before they were used removed useless explicit
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/error_report.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/shared/error_report.h b/src/shared/error_report.h
index 17b25645..da07c728 100644
--- a/src/shared/error_report.h
+++ b/src/shared/error_report.h
@@ -17,16 +17,20 @@ You should have received a copy of the GNU General Public License
along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
*/
-#pragma once
+#ifndef MODORGANIZER_SHARED_ERROR_REPORT_INCLUDED
+#define MODORGANIZER_SHARED_ERROR_REPORT_INCLUDED
#include <tchar.h>
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <string>
-namespace MOShared {
+namespace MOShared
+{
void reportError(LPCSTR format, ...);
void reportError(LPCWSTR format, ...);
} // namespace MOShared
+
+#endif // MODORGANIZER_SHARED_ERROR_REPORT_INCLUDED