forked from flipperdevices/flipperzero-firmware
-
-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Lee
committed
Jan 27, 2024
1 parent
bc56826
commit cb639c1
Showing
10 changed files
with
579 additions
and
586 deletions.
There are no files selected for viewing
528 changes: 264 additions & 264 deletions
528
models/cross/xremote_remote.c → models/cross/xremote_cross_remote.c
Large diffs are not rendered by default.
Oops, something went wrong.
46 changes: 23 additions & 23 deletions
46
models/cross/xremote_remote.h → models/cross/xremote_cross_remote.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
#pragma once | ||
|
||
#include "xremote_remote_item.h" | ||
#include "../../xremote_i.h" | ||
|
||
#define CROSS_REMOTE_PAUSE_NAME "Pause %ds" | ||
|
||
CrossRemote* xremote_cross_remote_alloc(); | ||
|
||
void xremote_cross_remote_free(CrossRemote* cross_remote); | ||
bool xremote_cross_remote_load(CrossRemote* cross_remote, FuriString* path); | ||
const char* xremote_cross_remote_get_name(CrossRemote* remote); | ||
void xremote_cross_remote_set_transmitting(CrossRemote* remote, int status); | ||
int xremote_cross_remote_get_transmitting(CrossRemote* remote); | ||
bool xremote_cross_remote_add_pause(CrossRemote* remote, int time); | ||
bool xremote_cross_remote_add_ir_item(CrossRemote* remote, const char* name, InfraredSignal* signal); | ||
bool xremote_cross_remote_add_subghz(CrossRemote* remote, SubGhzRemote* subghz); | ||
void xremote_cross_remote_remove_item(CrossRemote* remote, size_t index); | ||
void xremote_cross_remote_rename_item(CrossRemote* remote, size_t index, const char* name); | ||
size_t xremote_cross_remote_get_item_count(CrossRemote* remote); | ||
CrossRemoteItem* xremote_cross_remote_get_item(CrossRemote* remote, size_t index); | ||
|
||
bool xremote_cross_remote_save_new(CrossRemote* remote, const char* name); | ||
#pragma once | ||
|
||
#include "xremote_cross_remote_item.h" | ||
#include "../../xremote_i.h" | ||
|
||
#define CROSS_REMOTE_PAUSE_NAME "Pause %ds" | ||
|
||
CrossRemote* xremote_cross_remote_alloc(); | ||
|
||
void xremote_cross_remote_free(CrossRemote* cross_remote); | ||
bool xremote_cross_remote_load(CrossRemote* cross_remote, FuriString* path); | ||
const char* xremote_cross_remote_get_name(CrossRemote* remote); | ||
void xremote_cross_remote_set_transmitting(CrossRemote* remote, int status); | ||
int xremote_cross_remote_get_transmitting(CrossRemote* remote); | ||
bool xremote_cross_remote_add_pause(CrossRemote* remote, int time); | ||
bool xremote_cross_remote_add_ir_item(CrossRemote* remote, const char* name, InfraredSignal* signal); | ||
bool xremote_cross_remote_add_subghz(CrossRemote* remote, SubGhzRemote* subghz); | ||
void xremote_cross_remote_remove_item(CrossRemote* remote, size_t index); | ||
void xremote_cross_remote_rename_item(CrossRemote* remote, size_t index, const char* name); | ||
size_t xremote_cross_remote_get_item_count(CrossRemote* remote); | ||
CrossRemoteItem* xremote_cross_remote_get_item(CrossRemote* remote, size_t index); | ||
|
||
bool xremote_cross_remote_save_new(CrossRemote* remote, const char* name); | ||
bool xremote_cross_remote_delete(CrossRemote* remote); |
Oops, something went wrong.