29 lines
No EOL
496 B
C
29 lines
No EOL
496 B
C
// Define once
|
|
#ifndef H_MANAGER
|
|
#define H_MANAGER
|
|
|
|
// Libraries
|
|
#include <furi.h>
|
|
|
|
#include "app.h"
|
|
#include "pass.h"
|
|
#include "store.h"
|
|
|
|
// Structures
|
|
typedef struct {
|
|
Password* current;
|
|
|
|
char* names[4];
|
|
int page;
|
|
} Manager;
|
|
|
|
// Constructors
|
|
Manager* manager_init();
|
|
|
|
// Functions
|
|
void manager_switchpage(Manager* manager, int dir);
|
|
void manager_loadnames(Manager* manager, int page);
|
|
void manager_loadpass(Manager* manager, char* name);
|
|
void manager_free(Manager* manager);
|
|
|
|
#endif |