-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmiband_nfc.h
More file actions
31 lines (29 loc) · 1.08 KB
/
Copy pathmiband_nfc.h
File metadata and controls
31 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* @file miband_nfc.h
* @brief Public header for Mi Band NFC Writer application
*
* This is the main public header file for the Mi Band NFC Writer application.
* It defines the opaque application structure type that is used throughout
* the codebase.
*
* The actual structure definition is in miband_nfc_i.h (internal header)
* to maintain encapsulation and prevent external code from directly
* accessing internal application state.
*/
#pragma once
/**
* @brief Opaque application structure
*
* This forward declaration creates an opaque type for the application structure.
* External code can hold pointers to MiBandNfcApp but cannot access its
* internal members directly.
*
* The full structure definition is in miband_nfc_i.h and includes:
* - GUI components (view dispatcher, scene manager, views)
* - NFC components (scanner, poller, listener)
* - Application state (loaded data, current operation, etc.)
*
* This pattern provides encapsulation and allows the internal structure
* to change without affecting external code.
*/
typedef struct MiBandNfcApp MiBandNfcApp;