mirror of
https://github.com/google/pebble.git
synced 2025-05-29 06:23: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
63
tests/stubs/stubs_attribute.h
Normal file
63
tests/stubs/stubs_attribute.h
Normal file
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* 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 "services/normal/timeline/attribute.h"
|
||||
|
||||
const char *attribute_get_string(const AttributeList *attr_list, AttributeId id,
|
||||
char *default_value) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
uint8_t attribute_get_uint8(const AttributeList *attr_list, AttributeId id,
|
||||
uint8_t default_value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t attribute_get_uint32(const AttributeList *attr_list, AttributeId id,
|
||||
uint32_t default_value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void attribute_list_add_cstring(AttributeList *list, AttributeId id, const char *cstring) {
|
||||
return;
|
||||
}
|
||||
|
||||
void attribute_list_add_uint32(AttributeList *list, AttributeId id, uint32_t uint32) {
|
||||
return;
|
||||
}
|
||||
|
||||
void attribute_list_add_string_list(AttributeList *list, AttributeId id, StringList *string_list) {
|
||||
return;
|
||||
}
|
||||
|
||||
void attribute_list_add_uint32_list(AttributeList *list, AttributeId id, Uint32List *uint32_list) {
|
||||
return;
|
||||
}
|
||||
|
||||
void attribute_list_add_resource_id(AttributeList *list, AttributeId id,
|
||||
uint32_t resource_id) {
|
||||
return;
|
||||
}
|
||||
|
||||
void attribute_list_add_uint8(AttributeList *list, AttributeId id, uint8_t uint8) {
|
||||
return;
|
||||
}
|
||||
|
||||
void attribute_list_destroy_list(AttributeList *list) {
|
||||
return;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue