mirror of
https://github.com/google/pebble.git
synced 2025-06-12 12:43:13 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
96
tests/stubs/stubs_action_menu.h
Normal file
96
tests/stubs/stubs_action_menu.h
Normal file
|
@ -0,0 +1,96 @@
|
|||
/*
|
||||
* Copyright 2024 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "applib/ui/action_menu_window.h"
|
||||
#include "applib/ui/action_menu_hierarchy.h"
|
||||
|
||||
void *action_menu_get_context(ActionMenu *action_menu) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ActionMenuLevel *action_menu_get_root_level(ActionMenu *action_menu) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ActionMenu *action_menu_open(WindowStack *window_stack, ActionMenuConfig *config) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ActionMenu *app_action_menu_open(ActionMenuConfig *config) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void action_menu_freeze(ActionMenu *action_menu) {
|
||||
return;
|
||||
}
|
||||
|
||||
void action_menu_unfreeze(ActionMenu *action_menu) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool action_menu_is_frozen(ActionMenu *action_menu) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void action_menu_set_result_window(ActionMenu *action_menu, Window *result_window) {
|
||||
return;
|
||||
}
|
||||
|
||||
void action_menu_set_align(ActionMenuConfig *config, ActionMenuAlign align) {
|
||||
return;
|
||||
}
|
||||
|
||||
void action_menu_close(ActionMenu *action_menu, bool animated) {
|
||||
return;
|
||||
}
|
||||
|
||||
char *action_menu_item_get_label(const ActionMenuItem *item) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void *action_menu_item_get_action_data(const ActionMenuItem *item) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ActionMenuLevel *action_menu_level_create(uint16_t max_items) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void action_menu_level_set_display_mode(ActionMenuLevel *level,
|
||||
ActionMenuLevelDisplayMode display_mode) {
|
||||
return;
|
||||
}
|
||||
|
||||
ActionMenuItem *action_menu_level_add_action(ActionMenuLevel *level,
|
||||
const char *label,
|
||||
ActionMenuPerformActionCb cb,
|
||||
void *action_data) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ActionMenuItem *action_menu_level_add_child(ActionMenuLevel *level,
|
||||
ActionMenuLevel *child,
|
||||
const char *label) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void action_menu_hierarchy_destroy(const ActionMenuLevel *root,
|
||||
ActionMenuEachItemCb each_cb,
|
||||
void *context) {
|
||||
return;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue