0.4.00.4.10.4.2
|
Last change
on this file since 7f9c823 was
7f9c823,
checked in by Michael Medin <michael@…>, 4 years ago
|
|
First attempt at serious boostification.
NOTICE! This is NOT a complete edition, it build and runs but many features are disabled and/or broken.
But we have working, sockets and mutexes and conversion functions from boost inside now and more to come...
Also started to build with CMake since it works better then boost.build
|
-
Property mode set to
100644
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | #pragma once
|
|---|
| 2 | #include <unicode_char.hpp>
|
|---|
| 3 | #include <string>
|
|---|
| 4 |
|
|---|
| 5 | namespace error {
|
|---|
| 6 | class format {
|
|---|
| 7 | public:
|
|---|
| 8 | static std::wstring from_system(unsigned long dwError) {
|
|---|
| 9 | return _T("ERROR TODO");
|
|---|
| 10 | }
|
|---|
| 11 | static std::wstring from_module(std::wstring module, unsigned long dwError) {
|
|---|
| 12 | return _T("ERROR TODO");
|
|---|
| 13 | }
|
|---|
| 14 | static std::wstring from_module(std::wstring module, unsigned long dwError, unsigned long *arguments) {
|
|---|
| 15 | return _T("ERROR TODO");
|
|---|
| 16 | }
|
|---|
| 17 | class message {
|
|---|
| 18 | public:
|
|---|
| 19 | static std::wstring from_module(std::wstring module, unsigned long dwError) {
|
|---|
| 20 | return _T("ERROR TODO");
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | static std::wstring from_module_x64(std::wstring module, unsigned long dwError, wchar_t* argList[], unsigned long argCount) {
|
|---|
| 24 | return _T("ERROR TODO");
|
|---|
| 25 | }
|
|---|
| 26 | private:
|
|---|
| 27 |
|
|---|
| 28 | static std::wstring from_module_wrapper(std::wstring module, unsigned long dwError, ...) {
|
|---|
| 29 | return _T("ERROR TODO");
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | static std::wstring __from_module(std::wstring module, unsigned long dwError, va_list *arguments) {
|
|---|
| 33 | return _T("ERROR TODO");
|
|---|
| 34 | }
|
|---|
| 35 | public:
|
|---|
| 36 | static std::wstring from_system(unsigned long dwError, unsigned long *arguments) {
|
|---|
| 37 | return _T("ERROR TODO");
|
|---|
| 38 | }
|
|---|
| 39 | };
|
|---|
| 40 | };
|
|---|
| 41 | class lookup {
|
|---|
| 42 | public:
|
|---|
| 43 | static std::wstring last_error(unsigned long dwLastError = -1) {
|
|---|
| 44 | return _T("ERROR TODO");
|
|---|
| 45 | }
|
|---|
| 46 | static std::string last_error_ansi(unsigned long dwLastError = -1) {
|
|---|
| 47 | return "ERROR TODO";
|
|---|
| 48 | }
|
|---|
| 49 | };
|
|---|
| 50 | }
|
|---|
Note: See
TracBrowser
for help on using the repository browser.