A simple Qt based browser with no bullshit that supports PKCS#11 tokens (such as the SuisseID).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

93 lines
2.1 KiB

//////////////////////////////////////////////////////////////////////////////////
// Name: actBasics.h
// Product: cv act library
// Purpose: integration of globally available identifiers
//
// Copyright: (c) 2000 cv cryptovision GmbH
// all rights reserved
// Licence: The conditions for the use of this software are regulated
// in the cv act library licence agreement.
//////////////////////////////////////////////////////////////////////////////////
#ifndef ACT_Basics_h
#define ACT_Basics_h
#include "actEnv.h"
#ifndef ACT_LITTLE_ENDIAN
# define ACT_LITTLE_ENDIAN
#endif
#if defined(__BIG_ENDIAN__) || \
defined(__sun__) || \
defined(__sparc) || \
defined(__sparc__) || \
defined(__ppc__) || \
defined(__ppc64__)
# undef ACT_LITTLE_ENDIAN
#endif // __sun__
#ifndef NO_STL_SUPPORT
# include <cstddef> // used for ptrdiff_t,size_t
#else
# ifndef _PTRDIFF_T_DEFINED
typedef int ptrdiff_t;
# define _PTRDIFF_T_DEFINED
# endif
# ifndef _SIZE_T_DEFINED
typedef unsigned int size_t;
# define _SIZE_T_DEFINED
# endif
#endif // NO_STL_SUPPORT
namespace act
{
typedef unsigned long ulong;
typedef unsigned int uint;
typedef unsigned short ushort;
typedef unsigned char uchar;
typedef unsigned char byte;
typedef unsigned short word;
typedef unsigned int dword;
#if defined(_MSC_VER) & !defined(__MWERKS__)
using ::size_t;
using ::ptrdiff_t;
#else
using std::size_t;
using std::ptrdiff_t;
#endif
typedef int paramid_t;
typedef int status_t;
typedef int mode_t;
typedef int export_t;
typedef ushort uint16;
typedef uint uint32;
#if defined(__GNUC__) || defined(__MWERKS__)
typedef unsigned long long uint64;
# define U64(x) x##ULL
#else
//#ifdef _MSC_EXTENSIONS
typedef unsigned __int64 uint64;
# define U64(x) x##ui64
#endif
#if defined(__GNUC__)
# define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
#endif
const export_t DEFAULT = 0;
//
// scoped_delete<>
template<typename TypeT, typename DestructF = void, int id = 0>
struct scoped_delete { };
} // namespace act
#endif // ACT_Basics_h