Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ after_build:

call .\windeploycrt.cmd %QT_PATH%\bin tool1cd\bin

xcopy COPYING tool1cd\bin

7z a -r tool1cd-%APPVEYOR_BUILD_VERSION%.zip tool1cd\bin

candle tool1cd.wxs
Expand Down
4 changes: 2 additions & 2 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ Upstream-Name: ctoolcd
Source: https://github.com/dmpas/tool1cd

Files: *
Copyright: Valeriy Ageev
License: No license
Copyright: Valeriy Ageev and E8 Tools contributors
License: GPL3

1 change: 1 addition & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
README.md
COPYING
20 changes: 20 additions & 0 deletions src/SystemClasses/Exception.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SYSTEM__EXCEPTION_HPP
#define SYSTEM__EXCEPTION_HPP

Expand Down
28 changes: 24 additions & 4 deletions src/SystemClasses/GetTickCount.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "GetTickCount.hpp"

#ifdef _WIN32
Expand All @@ -10,20 +30,20 @@ namespace System {

namespace Classes {

// (c) http://www.doctort.org/adam/nerd-notes/linux-equivalent-of-the-windows-gettickcount-function.html
unsigned long GetTickCount()
// (c) http://www.doctort.org/adam/nerd-notes/linux-equivalent-of-the-windows-gettickcount-function.html
unsigned long GetTickCount()
{
#ifdef _WIN32
return (unsigned long)(::GetTickCount());
#else
#else
struct timeval tv;
if(gettimeofday(&tv, nullptr) != 0) {
return 0;
}

return (tv.tv_sec * 1000) + (tv.tv_usec / 1000);
#endif // _WIN32
}
}

} // Classe

Expand Down
24 changes: 22 additions & 2 deletions src/SystemClasses/GetTickCount.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GETTICKCOUNT_HPP_INCLUDED
#define GETTICKCOUNT_HPP_INCLUDED

namespace System {

namespace Classes {

unsigned long GetTickCount();

}

}
}


#endif // GETTICKCOUNT_HPP_INCLUDED
20 changes: 20 additions & 0 deletions src/SystemClasses/String.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "String.hpp"
#include <algorithm>
#include <stdexcept>
Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/String.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SYSTEM_STRING_HPP
#define SYSTEM_STRING_HPP

Expand Down
22 changes: 21 additions & 1 deletion src/SystemClasses/System.Classes.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
#include "System.Classes.hpp"
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "System.Classes.hpp"

namespace System {

Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/System.Classes.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SYSTEM_CLASSES_HPP
#define SYSTEM_CLASSES_HPP

Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/System.IOUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "System.IOUtils.hpp"
#include <boost/filesystem.hpp>

Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/System.IOUtils.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SYSTEM_IOUTILS_HPP
#define SYSTEM_IOUTILS_HPP

Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/System.SysUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "System.SysUtils.hpp"
#include <boost/filesystem.hpp>
#include <string>
Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/System.SysUtils.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SYSTEM_SYSUTILS_HPP
#define SYSTEM_SYSUTILS_HPP

Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/System.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "System.hpp"

namespace System {
Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/System.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SYSTEM_HPP
#define SYSTEM_HPP

Expand Down
20 changes: 20 additions & 0 deletions src/SystemClasses/TFileStream.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
Tool1CD library provides access to 1CD database files.
Copyright © 2009-2017 awa
Copyright © 2017-2018 E8 Tools contributors

This file is part of Tool1CD Library.

Tool1CD Library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Tool1CD Library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Tool1CD Library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "TFileStream.hpp"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
Expand Down
Loading