mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 03:14:45 +00:00
Move shell functions to separate file
This commit is contained in:
parent
7a430dfe9d
commit
657d0b4140
6 changed files with 1534 additions and 1500 deletions
1495
internal/c/libqb.cpp
1495
internal/c/libqb.cpp
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,6 @@
|
|||
#include "cmem.h"
|
||||
#include "qbs.h"
|
||||
|
||||
void sub_shell4(qbs *, int32); //_DONTWAIT & _HIDE
|
||||
int32 func__source();
|
||||
int32 func_pos(int32 ignore);
|
||||
void sub__printimage(int32 i);
|
||||
|
|
|
@ -13,6 +13,7 @@ libqb-objs-y += $(PATH_LIBQB)/src/qblist.o
|
|||
libqb-objs-y += $(PATH_LIBQB)/src/mem.o
|
||||
libqb-objs-y += $(PATH_LIBQB)/src/math.o
|
||||
libqb-objs-y += $(PATH_LIBQB)/src/rounding.o
|
||||
libqb-objs-y += $(PATH_LIBQB)/src/shell.o
|
||||
libqb-objs-y += $(PATH_LIBQB)/src/qbs.o
|
||||
libqb-objs-y += $(PATH_LIBQB)/src/qbs_str.o
|
||||
libqb-objs-y += $(PATH_LIBQB)/src/qbs_cmem.o
|
||||
|
|
13
internal/c/libqb/include/shell.h
Normal file
13
internal/c/libqb/include/shell.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include "qbs.h"
|
||||
|
||||
extern int32_t shell_call_in_progress;
|
||||
|
||||
int64_t func_shell(qbs *str);
|
||||
int64_t func__shellhide(qbs *str);
|
||||
void sub_shell(qbs *str, int32_t passed);
|
||||
void sub_shell2(qbs *str, int32_t passed);
|
||||
void sub_shell3(qbs *str, int32_t passed);
|
||||
void sub_shell4(qbs *str, int32_t passed);
|
1518
internal/c/libqb/src/shell.cpp
Normal file
1518
internal/c/libqb/src/shell.cpp
Normal file
File diff suppressed because it is too large
Load diff
|
@ -15,6 +15,7 @@
|
|||
#include "qbmath.h"
|
||||
#include "qbs.h"
|
||||
#include "qbs-mk-cv.h"
|
||||
#include "shell.h"
|
||||
#include "error_handle.h"
|
||||
#include "mem.h"
|
||||
#include "rounding.h"
|
||||
|
@ -129,11 +130,6 @@ extern int64 GetTicks();
|
|||
|
||||
extern mem_block func__memimage(int32, int32);
|
||||
|
||||
extern int64 func__shellhide(qbs *str);
|
||||
extern int64 func_shell(qbs *str);
|
||||
extern void sub_shell(qbs *str, int32 passed);
|
||||
extern void sub_shell2(qbs *str, int32 passed);
|
||||
extern void sub_shell3(qbs *str, int32 passed);
|
||||
extern void sub__consoletitle(qbs *);
|
||||
extern void sub__screenshow();
|
||||
extern void sub__screenhide();
|
||||
|
|
Loading…
Reference in a new issue