Skip to content

Commit

Permalink
fixup! feat: lib/platform -> lib/ptk
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Sep 18, 2024
1 parent 8f16e42 commit cf18a07
Show file tree
Hide file tree
Showing 15 changed files with 46 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/i18n/include/i18n.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* lib/i18n/include/i18n.h
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion lib/ptk/include/ptk/steptimer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/include/ptk/step_timer.h
* lib/ptk/include/ptk/steptimer.h
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/ptk/src/linux/app.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/linux_app.c
* lib/ptk/src/linux/app.c
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/ptk/src/linux/fbapp.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/fb_app.c
* lib/ptk/src/linux/fbapp.c
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/ptk/src/linux/fbapp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/fb_app.h
/*
* lib/ptk/src/linux/fbapp.h
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/ptk/src/linux/ime.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/linux_ime.c: -- The input method engine support for linux.
* lib/ptk/src/linux/ime.c: -- The input method engine support for linux.
*
* Copyright (c) 2018-2024, Liu chao <[email protected]> All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/ptk/src/linux/keyboard.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/linux_keyboard.c: -- Keyboard support for linux.
* lib/ptk/src/linux/keyboard.c: -- Keyboard support for linux.
*
* Copyright (c) 2018-2024, Liu chao <[email protected]> All rights reserved.
*
Expand Down
10 changes: 10 additions & 0 deletions lib/ptk/src/linux/keyboard.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* lib/ptk/src/linux/keyboard.h
*
* Copyright (c) 2024, Liu Chao <[email protected]> All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found in the
* LICENSE.TXT file in the root directory of this source tree.
*/

int ptk_linux_keyboard_init(void);
int ptk_linux_keyboard_destroy(void);
2 changes: 1 addition & 1 deletion lib/ptk/src/linux/mouse.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/linux_mouse.c: -- Mouse support for linux.
* lib/ptk/src/linux/mouse.c: -- Mouse support for linux.
*
* Copyright (c) 2018-2024, Liu chao <[email protected]> All rights reserved.
*
Expand Down
11 changes: 11 additions & 0 deletions lib/ptk/src/linux/mouse.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* lib/ptk/src/linux/mouse.h
*
* Copyright (c) 2024, Liu Chao <[email protected]> All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found in the
* LICENSE.TXT file in the root directory of this source tree.
*/

int ptk_linux_mouse_init(void);
int ptk_linux_mouse_destroy(void);

2 changes: 1 addition & 1 deletion lib/ptk/src/linux/x11app.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/x11_app.c
* lib/ptk/src/linux/x11app.c
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/ptk/src/linux/x11app.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/app.h
/*
* lib/ptk/src/linux/x11app.h
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/ptk/src/linux/x11clipboard.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ptk/src/linux/linux_x11clipboard.c: clipboard support for linux x11
* lib/ptk/src/linux/x11clipboard.c: clipboard support for linux x11
*
* Copyright (c) 2018-2024, Liu chao <[email protected]> All rights reserved.
*
Expand Down
10 changes: 10 additions & 0 deletions lib/ptk/src/linux/x11clipboard.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* lib/ptk/src/linux/x11clipboard.h
*
* Copyright (c) 2024, Liu Chao <[email protected]> All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found in the
* LICENSE.TXT file in the root directory of this source tree.
*/

#include "ptk/clipboard.h"

Expand Down
4 changes: 2 additions & 2 deletions lib/ui/include/ui/updater.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* lib/ui/include/ui_updater.h
/*
* lib/ui/include/ui/updater.h
*
* Copyright (c) 2023-2024, Liu Chao <[email protected]> All rights reserved.
*
Expand Down

0 comments on commit cf18a07

Please sign in to comment.