--- a/src/demo.h Mon Jun 01 17:06:13 2015 +0300 +++ b/src/demo.h Fri Jun 05 18:33:51 2015 +0300 @@ -1,6 +1,6 @@ /* * ZCinema: Zandronum demo launcher - * Copyright (C) 2013 Santeri Piippo + * Copyright (C) 2013-2015 Teemu Piippo * * 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 @@ -16,12 +16,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef ZCINEMA_DEMO_H -#define ZCINEMA_DEMO_H - +#pragma once #include "types.h" -enum { +enum +{ DemoLength, DemoVersion, DemoCVars, @@ -35,19 +34,19 @@ DemoWads }; -enum BuildType { +enum BuildType +{ OtherBuild = 0, ReleaseBuild = 1, InternalBuild = 2, PrivateBuild = 3 }; -struct VersionInfo { - str shortVersion; - str versionString; +struct VersionInfo +{ + QString shortVersion; + QString versionString; bool release; }; -int launchDemo (str path); - -#endif // ZCINEMA_DEMO_H \ No newline at end of file +int launchDemo (QString path); \ No newline at end of file