Changeset dc5c303 in mainline for uspace/app/taskbar-cfg/types/smeedit.h
- Timestamp:
- 2023-12-28T13:59:23Z (2 years ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 moved
-
uspace/app/taskbar-cfg/types/smeedit.h (moved) (moved from kernel/generic/include/mem.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar-cfg/types/smeedit.h
r42c2e65 rdc5c303 1 1 /* 2 * Copyright (c) 20 01-2004 Jakub Jermar2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kernel_generic29 /** @addtogroup taskbar-cfg 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file Start menu entry edit dialog 33 34 */ 34 35 35 #ifndef KERN_MEM_H_36 #define KERN_MEM_H_36 #ifndef TYPES_SMEEDIT_H 37 #define TYPES_SMEEDIT_H 37 38 38 #include <stddef.h> 39 #include <stdint.h> 40 #include <cc.h> 39 #include <ui/fixed.h> 40 #include <ui/label.h> 41 #include <ui/entry.h> 42 #include <ui/pbutton.h> 43 #include <ui/window.h> 41 44 42 #ifdef CONFIG_LTO 43 #define DO_NOT_DISCARD ATTRIBUTE_USED 44 #else 45 #define DO_NOT_DISCARD 46 #endif 47 48 #define memset(dst, val, cnt) __builtin_memset((dst), (val), (cnt)) 49 #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) 50 #define memcmp(s1, s2, cnt) __builtin_memcmp((s1), (s2), (cnt)) 51 52 extern void memsetb(void *, size_t, uint8_t) 53 __attribute__((nonnull(1))); 54 extern void memsetw(void *, size_t, uint16_t) 55 __attribute__((nonnull(1))); 56 extern void *memmove(void *, const void *, size_t) 57 __attribute__((nonnull(1, 2))) DO_NOT_DISCARD; 45 /** Start menu entry edit dialog */ 46 typedef struct smeedit { 47 /** Containing start menu configuration tab */ 48 struct startmenu *startmenu; 49 /** Start menu entry or @c NULL if creating a new entry */ 50 struct startmenu_entry *smentry; 51 /** Window */ 52 ui_window_t *window; 53 /** Fixed layout */ 54 ui_fixed_t *fixed; 55 /** 'Caption' label */ 56 ui_label_t *lcaption; 57 /** Caption entry */ 58 ui_entry_t *ecaption; 59 /** 'Command' label */ 60 ui_label_t *lcmd; 61 /** Command entry */ 62 ui_entry_t *ecmd; 63 /** OK buttion */ 64 ui_pbutton_t *bok; 65 /** Cancel button */ 66 ui_pbutton_t *bcancel; 67 } smeedit_t; 58 68 59 69 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
