Add global variables

This commit is contained in:
El Mau 2022-02-23 14:48:14 -06:00
parent 9e4664905e
commit f8c4e3c3ee
8 changed files with 112 additions and 13528 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -15,11 +15,19 @@ module net { module elmau { module zaz { module EasyMacro {
interface XZAZEasyMacro : com::sun::star::uno::XInterface
{
[attribute, readonly] string OS;
[attribute, readonly] string DESKTOP;
[attribute, readonly] string PC;
[attribute, readonly] string USER;
[attribute, readonly] boolean IS_WIN;
[attribute, readonly] boolean IS_MAC;
[attribute, readonly] string NAME;
[attribute, readonly] string VERSION;
[attribute, readonly] string LANGUAGE;
[attribute, readonly] string LANG;
[attribute, readonly] string INFO_DEBUG;
};
interface XDebug : com::sun::star::uno::XInterface {
interface XZAZDebug : com::sun::star::uno::XInterface {
void inspect([in] any obj);
void info([in] any data);
void debug([in] any data);
@ -28,7 +36,7 @@ module net { module elmau { module zaz { module EasyMacro {
service EasyMacro {
interface XZAZEasyMacro;
interface XDebug;
interface XZAZDebug;
};
}; }; }; };

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,10 @@
#!/usr/bin/env python3
from net.elmau.zaz.EasyMacro import XDebug
from net.elmau.zaz.EasyMacro import XZAZDebug
import easymacro as app
class Debug(XDebug):
class Debug(XZAZDebug):
def info(self, message):
app.info(message)
@ -25,5 +25,13 @@ class Debug(XDebug):
class LIBO(Debug):
OS = app.OS
DESKTOP = app.DESKTOP
PC = app.PC
USER = app.USER
IS_WIN = app.IS_WIN
IS_MAC = app.IS_MAC
NAME = app.NAME
VERSION = app.VERSION
LANGUAGE = app.LANGUAGE
LANG = app.LANG
INFO_DEBUG = app.INFO_DEBUG