FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcLocale.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19class AcLocale_Impl;
20
22{
23public:
24 AcLocale(const wchar_t* = nullptr, const wchar_t* = nullptr);
27 AcLocale& operator =(const AcLocale&);
29 AcLocale& operator =(AcLocale&&);
30 bool operator ==(const AcLocale&) const;
31 bool operator !=(const AcLocale&) const;
32 const wchar_t* iso2LangName() const;
33 const wchar_t* iso2CountryName() const;
34 bool isValid() const;
35 operator int() const { return 0; }
36private:
37
38 AcLocale_Impl* m_pImpl;
39};
ARX_API bool operator!=(wchar_t, AcString const &)
ARX_API bool operator==(wchar_t, AcString const &)
AcLocale(AcLocale &&)
const wchar_t * iso2CountryName() const
const wchar_t * iso2LangName() const
bool isValid() const
AcLocale(const AcLocale &)
AcLocale(const wchar_t *=nullptr, const wchar_t *=nullptr)