cryptnox-sdk-cpp 1.0.0
Platform-independent C++ core SDK for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
CW_Platform.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: LGPL-3.0-or-later
3 * Copyright (c) 2026 Cryptnox SA
4 */
5
16
17#ifndef CW_PLATFORM_H
18#define CW_PLATFORM_H
19
20/******************************************************************
21 * 1. Included files
22 ******************************************************************/
23
24#include "platform_compat.h"
25
26/******************************************************************
27 * 2. Class declaration
28 ******************************************************************/
29
40public:
46 virtual void sleep_ms(uint32_t ms) = 0;
47
48 virtual ~CW_Platform() {}
49};
50
51#endif /* CW_PLATFORM_H */
Abstract interface for platform-specific operations used by the SDK.
Definition CW_Platform.h:39
virtual void sleep_ms(uint32_t ms)=0
Block for at least ms milliseconds.
virtual ~CW_Platform()
Definition CW_Platform.h:48
Arduino compatibility shims for non-Arduino (plain C++) builds.