diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index c8e84db..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,12 +0,0 @@
-# ignore files
-
-/**/*.user
-*.filters
-
-/**/x64
-.vs/
-
-/**/Debug/
-/**/out/
-
-/**/__pycache__
\ No newline at end of file
diff --git a/QtRpa/CMakeLists.txt b/QtRpa/CMakeLists.txt
deleted file mode 100644
index fcc907b..0000000
--- a/QtRpa/CMakeLists.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-# CMakeList.txt : Top-level CMake project file, do global configuration
-# and include sub-projects here.
-#
-cmake_minimum_required (VERSION 3.14)
-
-project(Velkhana)
-
-add_definitions(-DPROJECT_NAME="${PROJECT_NAME}")
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-set(CMAKE_CXX_STANDARD 20)
-set(CMAKE_CXX_STANDARD_REQUIRED ON)
-#set(Boost_USE_STATIC_LIBS ON)
-
-add_subdirectory(modules/common)
-add_subdirectory(modules/model)
-add_subdirectory(modules/interpreter)
-add_subdirectory(modules/frameless)
-#add_subdirectory(modules/scintilla)
-add_subdirectory(modules/creator)
-add_subdirectory(modules/wizard)
-add_subdirectory(modules/property)
-#add_subdirectory(modules/property_browser)
-#add_subdirectory(modules/graphics)
-add_subdirectory(modules/events)
-
-
diff --git a/QtRpa/CMakeSettings.json b/QtRpa/CMakeSettings.json
deleted file mode 100644
index c1db2ec..0000000
--- a/QtRpa/CMakeSettings.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "configurations": [
- {
- "name": "x64-Debug",
- "generator": "Ninja",
- "configurationType": "Debug",
- // "cmakeExecutable": "%CMAKE_ROOT%\\cmake.exe",
- "cmakeExecutable": "${env.CMAKE_ROOT}\\cmake.exe",
- //"cmakeExecutable": "C:\\Program Files\\CMake\\bin\\cmake.exe",
- "inheritEnvironments": [ "msvc_x64_x64" ],
- "buildRoot": "${projectDir}\\out\\build\\${name}",
- "installRoot": "${projectDir}\\out\\install\\${name}",
- "cmakeCommandArgs": "",
- "buildCommandArgs": "-v",
- "ctestCommandArgs": "",
- "cmakeToolchain": "${env.VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake",
- "variables": [
- {
- "name": "VCPKG_TARGET_TRIPLET",
- "value": "x64-windows-mixed",
- "type": "STRING"
- }
- ]
- },
- {
- "name": "x64-Release",
- "generator": "Ninja",
- "configurationType": "RelWithDebInfo",
- "cmakeExecutable": "C:\\Program Files\\CMake\\bin\\cmake.exe",
- "buildRoot": "${projectDir}\\out\\build\\${name}",
- "installRoot": "${projectDir}\\out\\install\\${name}",
- "cmakeCommandArgs": "",
- "buildCommandArgs": "",
- "ctestCommandArgs": "",
- "inheritEnvironments": [ "msvc_x64_x64" ],
- "variables": []
- }
- ]
-}
\ No newline at end of file
diff --git a/QtRpa/assets/Assets/additional.xml b/QtRpa/assets/Assets/additional.xml
deleted file mode 100644
index f4971e7..0000000
--- a/QtRpa/assets/Assets/additional.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/QtRpa/assets/Assets/keyboard.xml b/QtRpa/assets/Assets/keyboard.xml
deleted file mode 100644
index 969b09e..0000000
--- a/QtRpa/assets/Assets/keyboard.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/QtRpa/assets/Assets/system.xml b/QtRpa/assets/Assets/system.xml
deleted file mode 100644
index d787767..0000000
--- a/QtRpa/assets/Assets/system.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/QtRpa/assets/Assets/workflow.xml b/QtRpa/assets/Assets/workflow.xml
deleted file mode 100644
index 7b95559..0000000
--- a/QtRpa/assets/Assets/workflow.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/QtRpa/assets/activities/additional.xml b/QtRpa/assets/activities/additional.xml
deleted file mode 100644
index f4971e7..0000000
--- a/QtRpa/assets/activities/additional.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/QtRpa/assets/activities/keyboard.xml b/QtRpa/assets/activities/keyboard.xml
deleted file mode 100644
index 969b09e..0000000
--- a/QtRpa/assets/activities/keyboard.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/QtRpa/assets/activities/system.xml b/QtRpa/assets/activities/system.xml
deleted file mode 100644
index d787767..0000000
--- a/QtRpa/assets/activities/system.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/QtRpa/assets/activities/workflow.xml b/QtRpa/assets/activities/workflow.xml
deleted file mode 100644
index 7b95559..0000000
--- a/QtRpa/assets/activities/workflow.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/QtRpa/assets/cursor/cursor-arrow.png b/QtRpa/assets/cursor/cursor-arrow.png
deleted file mode 100644
index a69ef4e..0000000
Binary files a/QtRpa/assets/cursor/cursor-arrow.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-busy.png b/QtRpa/assets/cursor/cursor-busy.png
deleted file mode 100644
index 53717e4..0000000
Binary files a/QtRpa/assets/cursor/cursor-busy.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-closedhand.png b/QtRpa/assets/cursor/cursor-closedhand.png
deleted file mode 100644
index b78dd1d..0000000
Binary files a/QtRpa/assets/cursor/cursor-closedhand.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-cross.png b/QtRpa/assets/cursor/cursor-cross.png
deleted file mode 100644
index fe38e74..0000000
Binary files a/QtRpa/assets/cursor/cursor-cross.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-forbidden.png b/QtRpa/assets/cursor/cursor-forbidden.png
deleted file mode 100644
index 2b08c4e..0000000
Binary files a/QtRpa/assets/cursor/cursor-forbidden.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-hand.png b/QtRpa/assets/cursor/cursor-hand.png
deleted file mode 100644
index d2004ae..0000000
Binary files a/QtRpa/assets/cursor/cursor-hand.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-hsplit.png b/QtRpa/assets/cursor/cursor-hsplit.png
deleted file mode 100644
index a5667e3..0000000
Binary files a/QtRpa/assets/cursor/cursor-hsplit.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-ibeam.png b/QtRpa/assets/cursor/cursor-ibeam.png
deleted file mode 100644
index 097fc5f..0000000
Binary files a/QtRpa/assets/cursor/cursor-ibeam.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-openhand.png b/QtRpa/assets/cursor/cursor-openhand.png
deleted file mode 100644
index 9181c85..0000000
Binary files a/QtRpa/assets/cursor/cursor-openhand.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-sizeall.png b/QtRpa/assets/cursor/cursor-sizeall.png
deleted file mode 100644
index 69f13eb..0000000
Binary files a/QtRpa/assets/cursor/cursor-sizeall.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-sizeb.png b/QtRpa/assets/cursor/cursor-sizeb.png
deleted file mode 100644
index f37d7b9..0000000
Binary files a/QtRpa/assets/cursor/cursor-sizeb.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-sizef.png b/QtRpa/assets/cursor/cursor-sizef.png
deleted file mode 100644
index 3b127a0..0000000
Binary files a/QtRpa/assets/cursor/cursor-sizef.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-sizeh.png b/QtRpa/assets/cursor/cursor-sizeh.png
deleted file mode 100644
index a9f40cb..0000000
Binary files a/QtRpa/assets/cursor/cursor-sizeh.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-sizev.png b/QtRpa/assets/cursor/cursor-sizev.png
deleted file mode 100644
index 1edbab2..0000000
Binary files a/QtRpa/assets/cursor/cursor-sizev.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-uparrow.png b/QtRpa/assets/cursor/cursor-uparrow.png
deleted file mode 100644
index d3e70ef..0000000
Binary files a/QtRpa/assets/cursor/cursor-uparrow.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-vsplit.png b/QtRpa/assets/cursor/cursor-vsplit.png
deleted file mode 100644
index 1beda25..0000000
Binary files a/QtRpa/assets/cursor/cursor-vsplit.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-wait.png b/QtRpa/assets/cursor/cursor-wait.png
deleted file mode 100644
index 69056c4..0000000
Binary files a/QtRpa/assets/cursor/cursor-wait.png and /dev/null differ
diff --git a/QtRpa/assets/cursor/cursor-whatsthis.png b/QtRpa/assets/cursor/cursor-whatsthis.png
deleted file mode 100644
index b47601c..0000000
Binary files a/QtRpa/assets/cursor/cursor-whatsthis.png and /dev/null differ
diff --git a/QtRpa/assets/favicon.png b/QtRpa/assets/favicon.png
deleted file mode 100644
index 6eec87d..0000000
Binary files a/QtRpa/assets/favicon.png and /dev/null differ
diff --git a/QtRpa/assets/icons/about.svg b/QtRpa/assets/icons/about.svg
deleted file mode 100644
index c8590fd..0000000
--- a/QtRpa/assets/icons/about.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/icons/arrow.svg b/QtRpa/assets/icons/arrow.svg
deleted file mode 100644
index 383ea9f..0000000
--- a/QtRpa/assets/icons/arrow.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/icons/close.svg b/QtRpa/assets/icons/close.svg
deleted file mode 100644
index 0fcb5a0..0000000
--- a/QtRpa/assets/icons/close.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/icons/exec.svg b/QtRpa/assets/icons/exec.svg
deleted file mode 100644
index d8926ab..0000000
--- a/QtRpa/assets/icons/exec.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/icons/favicon.png b/QtRpa/assets/icons/favicon.png
deleted file mode 100644
index 6eec87d..0000000
Binary files a/QtRpa/assets/icons/favicon.png and /dev/null differ
diff --git a/QtRpa/assets/icons/git.svg b/QtRpa/assets/icons/git.svg
deleted file mode 100644
index f8af876..0000000
--- a/QtRpa/assets/icons/git.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/icons/new.svg b/QtRpa/assets/icons/new.svg
deleted file mode 100644
index 358aa9a..0000000
--- a/QtRpa/assets/icons/new.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/icons/open.svg b/QtRpa/assets/icons/open.svg
deleted file mode 100644
index a6d7d9d..0000000
--- a/QtRpa/assets/icons/open.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/icons/save.svg b/QtRpa/assets/icons/save.svg
deleted file mode 100644
index d46d895..0000000
--- a/QtRpa/assets/icons/save.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/QtRpa/assets/images/photo.jpg b/QtRpa/assets/images/photo.jpg
deleted file mode 100644
index 2111d9d..0000000
Binary files a/QtRpa/assets/images/photo.jpg and /dev/null differ
diff --git a/QtRpa/assets/languages/en-US.json b/QtRpa/assets/languages/en-US.json
deleted file mode 100644
index e723dfb..0000000
--- a/QtRpa/assets/languages/en-US.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "plugin": {
- "l1": "Missing parameters or type is mismatch",
- "l2": "The `%1%`does not exist",
- "common": {
- "l3": "The ini file parse failed"
- }
- },
- "model": {
- "image": {
- "l1": "Can't find image `%1%`"
- }
- },
- "image": {
- "l1": "Template image is empty"
- },
- "core": {
- "l2": "String conversion failed",
- "thread": {
- "l1": "Thread interrupted"
- }
- }
-}
\ No newline at end of file
diff --git a/QtRpa/assets/library/__init__.py b/QtRpa/assets/library/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/QtRpa/assets/library/additional/code.py b/QtRpa/assets/library/additional/code.py
deleted file mode 100644
index 7171126..0000000
--- a/QtRpa/assets/library/additional/code.py
+++ /dev/null
@@ -1,60 +0,0 @@
-from interpreter import LayoutItem
-from interpreter import Widget
-from interpreter import Item
-from interpreter import Property
-from interpreter import Element
-from interpreter import Layout
-from interpreter import LinearLayout
-from interpreter import Scintilla
-from interpreter import LexerPython
-
-
-class CodePoperty(Property):
- def __init__(self, node):
- Property.__init__(self, node)
- #self.node = node
- # print(node.attribute("display").value())
- self.code = node.attribute("code").value()
-
-
- def get_doc(self):
- doc = super().get_doc()
- doc.document_element().append_attribute("filename").set_value(self.filename)
- return doc
-
- def filename_changed(self, new):
- self.code = new
-
- # def get_input(self, browser):
- # group = super().get_input(browser)
- # line_edit = LineEditFactory.create()
- # str_manager = StringPropertyManager.create()
- # filename = str_manager.add_property("Filename")
- # group.add_sub_property(filename)
- # str_manager.set_value(filename, self.filename)
- # str_manager.value_changed.connect(self.filename_changed)
- # browser.set_factory_for_manager(str_manager, line_edit)
- # return group
-
- def exec(self):
- if self.filename is not None:
- exec(self.code)
-
-
-class CodeElement(Element):
- def __init__(self, node, parent):
- Element.__init__(self, parent)
- self.prop = CodePoperty(node)
- self.layout = LinearLayout.create(LinearLayout.Vertical, self)
- self.layout.set_contents_margins(11, 11, 11, 11)
-
- self.cintilla = Scintilla(self)
- self.cintilla.set_utf8(True)
- self.cintilla.set_text(self.prop.code)
- self.lexer = LexerPython.create()
- self.cintilla.set_lexer(self.lexer)
- self.layout.add_item(self.cintilla.widget())
-
-
- def get_prop(self):
- return self.prop
diff --git a/QtRpa/assets/library/code.py b/QtRpa/assets/library/code.py
deleted file mode 100644
index 4f094ec..0000000
--- a/QtRpa/assets/library/code.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import dataset
-from system import file_remove
-
-hash = 0x01
-
-file_remove.invoke(filename= dataset.attribute[hash].filename)
\ No newline at end of file
diff --git a/QtRpa/assets/library/filedelete.py b/QtRpa/assets/library/filedelete.py
deleted file mode 100644
index 4f094ec..0000000
--- a/QtRpa/assets/library/filedelete.py
+++ /dev/null
@@ -1,6 +0,0 @@
-import dataset
-from system import file_remove
-
-hash = 0x01
-
-file_remove.invoke(filename= dataset.attribute[hash].filename)
\ No newline at end of file
diff --git a/QtRpa/assets/library/parse.py b/QtRpa/assets/library/parse.py
deleted file mode 100644
index 45985e1..0000000
--- a/QtRpa/assets/library/parse.py
+++ /dev/null
@@ -1,40 +0,0 @@
-import ast
-import astunparse
-
-
-class CodeAnalyzer(ast.NodeVisitor):
- def visit_Import(self, node):
- print("### local:", locals())
- global astunparse
- self.dicts.append(astunparse.unparse(node))
-
- def visit_ImportFrom(self, node):
- self.dicts.append(astunparse.unparse(node))
- dicts = list()
-
-
-try:
- code
-except NameError:
- code = None
-
-
-result = ""
-
-print(locals())
-#print("""{code}""".format(**locals()))
-
-print("xxxxxx-")
-
-print(code)
-
-if 'code' in locals():
- print("----------", code)
- print(locals())
-
- node = ast.parse(code)
- analyzer = CodeAnalyzer()
- analyzer.visit(node)
- result = "".join(analyzer.dicts)
-
-print(result)
diff --git a/QtRpa/assets/library/system/fileremove.py b/QtRpa/assets/library/system/fileremove.py
deleted file mode 100644
index 1bca2ca..0000000
--- a/QtRpa/assets/library/system/fileremove.py
+++ /dev/null
@@ -1,47 +0,0 @@
-from interpreter import Property
-from interpreter import Container
-from interpreter import LineEditFactory
-from interpreter import StringPropertyManager
-import os
-
-
-class ProcessStartPoperty(Property):
- def __init__(self, node):
- Property.__init__(self, node)
- #self.node = node
- # print(node.attribute("display").value())
- self.filename = node.attribute("filename").value()
-
- def get_doc(self):
- doc = super().get_doc()
- doc.document_element().append_attribute("filename").set_value(self.filename)
- return doc
-
- def filename_changed(self, new):
- self.filename = new
-
- def get_input(self, browser):
- group = super().get_input(browser)
- line_edit = LineEditFactory.create()
- str_manager = StringPropertyManager.create()
- filename = str_manager.add_property("Filename")
- group.add_sub_property(filename)
- str_manager.set_value(filename, self.filename)
- str_manager.value_changed.connect(self.filename_changed)
- browser.set_factory_for_manager(str_manager, line_edit)
- return group
-
- def exec(self):
- self.filename = "notepad.exe"
- if self.filename is not None:
- os.remove(self.filename)
-
-
-class ProcessStartView(Container):
- def __init__(self, node, parent):
- Container.__init__(self, parent)
- self.property = ProcessStartPoperty(node)
- # print(node.attribute("display").value())
-
- def get_prop(self):
- return self.property
diff --git a/QtRpa/assets/library/system/process_start.py b/QtRpa/assets/library/system/process_start.py
deleted file mode 100644
index 11312ef..0000000
--- a/QtRpa/assets/library/system/process_start.py
+++ /dev/null
@@ -1,48 +0,0 @@
-from interpreter import Property
-from interpreter import Element
-from interpreter import LineEditFactory
-from interpreter import StringPropertyManager
-import subprocess
-
-class ProcessStartPoperty(Property):
- def __init__(self, node):
- Property.__init__(self, node)
- #self.node = node
- # print(node.attribute("display").value())
- self.filename = node.attribute("filename").value()
-
- def get_doc(self):
- doc = super().get_doc()
- doc.document_element().append_attribute("filename").set_value(self.filename)
- return doc
-
- def filename_changed(self, new):
- self.filename = new
-
- def get_input(self, browser):
- group = super().get_input(browser)
- line_edit = LineEditFactory.create()
- str_manager = StringPropertyManager.create()
- filename = str_manager.add_property("Filename")
- group.add_sub_property(filename)
- str_manager.set_value(filename, self.filename)
- str_manager.value_changed.connect(self.filename_changed)
- browser.set_factory_for_manager(str_manager, line_edit)
- return group
-
- def exec(self):
- if self.filename is None:
- subprocess.Popen(self.filename)
- else:
- #subprocess.Popen([self.filename, self.args])
- subprocess.Popen(self.filename)
-
-
-class ProcessStartView(Element):
- def __init__(self, node, parent):
- Element.__init__(self, parent)
- self.property = ProcessStartPoperty(node)
- # print(node.attribute("display").value())
-
- def get_prop(self):
- return self.property
diff --git a/QtRpa/assets/library/workflow/__init__.py b/QtRpa/assets/library/workflow/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/QtRpa/assets/library/workflow/sequence.py b/QtRpa/assets/library/workflow/sequence.py
deleted file mode 100644
index ac1a7c5..0000000
--- a/QtRpa/assets/library/workflow/sequence.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from interpreter import Property
-from interpreter import Container
-
-
-class SequencePoperty(Property):
- def __init__(self, node):
- Property.__init__(self, node)
-
-
-class SequenceView(Container):
- def __init__(self, node, parent):
- Container.__init__(self, parent)
- self.property = SequencePoperty(node)
-
- def get_prop(self):
- return self.property
diff --git a/QtRpa/assets/setting/columns.xml b/QtRpa/assets/setting/columns.xml
deleted file mode 100644
index 5437dd5..0000000
--- a/QtRpa/assets/setting/columns.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/QtRpa/assets/setting/modules.xml b/QtRpa/assets/setting/modules.xml
deleted file mode 100644
index 2762d5e..0000000
--- a/QtRpa/assets/setting/modules.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/QtRpa/assets/template/index.xml b/QtRpa/assets/template/index.xml
deleted file mode 100644
index c9fdb5c..0000000
--- a/QtRpa/assets/template/index.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/QtRpa/include/common.hpp b/QtRpa/include/common.hpp
deleted file mode 100644
index ab978a9..0000000
--- a/QtRpa/include/common.hpp
+++ /dev/null
@@ -1,35 +0,0 @@
-#pragma once
-#include "common/framework.h"
-#include "common/path.h"
-#include "common/zip_entry.h"
-#include "common/object.h"
-#include "common/worker_thread.h"
-#include "common/format.h"
-#include "common/code.h"
-#include "common/stream.h"
-#include "common/const_string.h"
-#include "common/logs.h"
-#include "common/runnable.h"
-#include "common/environment.h"
-#include "common/convert.h"
-#include "common/mimedata.h"
-#include "common/elementparser.h"
-#include "common/alias.h"
-#include "common/serialization.h"
-#include "common/string.h"
-#include "common/file.h"
-#include "common/algorithm.h"
-#include "common/point.h"
-#include "common/rect.h"
-#include "common/image.h"
-#include "common/xmldocument.h"
-#include "common/xmlattribute.h"
-#include "common/xmlnode.h"
-#include "common/directoryentry.h"
-#include "common/directoryiterator.h"
-#include "common/wobjectdefs.h"
-
-using namespace shelllet::common;
-
-
-#define DELVELOP_CODE_NAME "Velkhana"
\ No newline at end of file
diff --git a/QtRpa/include/common/algorithm.h b/QtRpa/include/common/algorithm.h
deleted file mode 100644
index 9e20a7d..0000000
--- a/QtRpa/include/common/algorithm.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#pragma once
-#include "framework.h"
-namespace shelllet {
- namespace common {
-
- template< typename SequenceSequenceT, typename Range1T>
- inline typename boost::range_value::type
- join(
- const SequenceSequenceT& Input,
- const Range1T& Separator)
- {
- return boost::join(Input, Separator);
- }
-
- }
-}
-
-
-
diff --git a/QtRpa/include/common/alias.h b/QtRpa/include/common/alias.h
deleted file mode 100644
index 350cb3e..0000000
--- a/QtRpa/include/common/alias.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#pragma once
-#include "framework.h"
-
-
-namespace std {
- //template
-// using iterator = iterator_traits;
-}
-namespace shelllet {
- namespace common {
- //using String = std::string;
- using WString = std::wstring;
- //using Path = std::filesystem::path;
- //template
- // struct Alloc { };
-
- template>
- using Vector = std::vector;
-
- using Int32 = std::int32_t;
-
- using UInt32 = std::uint32_t;
-
- using Bool = bool;
-
- template >
- using UniquePointer = std::unique_ptr;
-
- template
- using SharedPointer = std::shared_ptr;
-
- template, class Allocator = std::allocator >
- using Set = std::set;
-
- template
- using Variant = std::variant;
- }
-}
\ No newline at end of file
diff --git a/QtRpa/include/common/code.h b/QtRpa/include/common/code.h
deleted file mode 100644
index b8c0795..0000000
--- a/QtRpa/include/common/code.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#pragma once
-
-namespace shelllet {
- namespace common {
- class code
- {
- public:
- virtual ~code() { }
-
- //virtual void startProcess() = 0;
-
- //virtual void endProcess() = 0;
- virtual void javascript_code(std::stringstream& stream) = 0;
- virtual void process_start(std::stringstream& stream);
- virtual void process_end(std::stringstream& stream);
- };
- }
-}
\ No newline at end of file
diff --git a/QtRpa/include/common/common_widget.h b/QtRpa/include/common/common_widget.h
deleted file mode 100644
index ce15624..0000000
--- a/QtRpa/include/common/common_widget.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-#include
-namespace shelllet {
- namespace common {
- namespace widget {
- enum ExitCode {
- ExitWithNormal,
- ExitWithCreate,
- ExitWithOpen,
- ExitWithGit
- };
-
- class CommonWidget {
- public:
- virtual ExitCode show() = 0;
- virtual void centerToScreen(const QRect& rect) = 0;
- };
- }
- }
-}
\ No newline at end of file
diff --git a/QtRpa/include/common/const_string.h b/QtRpa/include/common/const_string.h
deleted file mode 100644
index 6101d3e..0000000
--- a/QtRpa/include/common/const_string.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#pragma once
-
-namespace shelllet {
-#define STR(str) #str
-#define QUOTED(str) #str
-
- static inline const char K_CONST_MARK_UNKNOWN[] = "unknown";
- static inline const char K_CONST_ERROR_CALLED[] = "# invalid object.";
- static inline const char K_CONST_ERROR_NULL_PTR[] = "# this null.";
- static inline const char K_CONST_ERROR_INVLAID_PARAM[] = "# invalid param.";
-}
\ No newline at end of file
diff --git a/QtRpa/include/common/convert.h b/QtRpa/include/common/convert.h
deleted file mode 100644
index 6ccaf26..0000000
--- a/QtRpa/include/common/convert.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace shelllet {
- namespace common {
-
- static inline void add_declaration(pugi::xml_document& doc)
- {
- pugi::xml_node decl = doc.append_child(pugi::node_declaration);
- decl.append_attribute("version") = "1.0";
- decl.append_attribute("encoding") = "utf-8";
- decl.append_attribute("standalone") = "yes";
- }
-
- /* static inline void AddDocumentElement(pugi::xml_document& doc)
- {
- doc.append_child("items");
- }*/
-
-
- template
- static inline QString GetNamespace(const char * name) {
- return QString(typeid(T).name()).remove("class ").chopped(strlen(name));
- }
-
-
- }
-}
diff --git a/QtRpa/include/common/custom_output_backend.h b/QtRpa/include/common/custom_output_backend.h
deleted file mode 100644
index 5287901..0000000
--- a/QtRpa/include/common/custom_output_backend.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#pragma once
-namespace shelllet {
- namespace common {
- class custom_output_backend : public CustomSink
- {
- public:
-
- void ReceiveLogMessage(g3::LogMessageMover logEntry) override;
-
- };
-
-
- class StdOutBackend : public CustomSink
- {
- public:
-
- void ReceiveLogMessage(g3::LogMessageMover logEntry) override;
-
- };
- }
-}
\ No newline at end of file
diff --git a/QtRpa/include/common/directoryentry.h b/QtRpa/include/common/directoryentry.h
deleted file mode 100644
index 29daf2f..0000000
--- a/QtRpa/include/common/directoryentry.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#pragma once
-#include "object.h"
-namespace shelllet {
- namespace common{
- class DirectoryEntryPrivate;
- class DirectoryEntry : public Object {
- Q_DECLARE_PRIVATE(DirectoryEntry)
- public:
- DirectoryEntry(Object*parent = nullptr);
- DirectoryEntry(const std::filesystem::directory_entry& entry, Object* parent = nullptr);
- const Path& path() const noexcept;
-
- operator const Path& () const noexcept;
- protected:
- DirectoryEntry(DirectoryEntryPrivate& d, Object*parent = nullptr);
- };
- }
-}
-
\ No newline at end of file
diff --git a/QtRpa/include/common/directoryiterator.h b/QtRpa/include/common/directoryiterator.h
deleted file mode 100644
index c39db83..0000000
--- a/QtRpa/include/common/directoryiterator.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#pragma once
-#include "object.h"
-namespace shelllet {
- namespace common {
- class DirectoryIteratorPrivate;
- class DirectoryIterator : public Object {
- Q_DECLARE_PRIVATE(DirectoryIterator)
- public:
- DirectoryIterator(Object* parent = nullptr);
- DirectoryIterator(const Path& p, Object* parent = nullptr);
- DirectoryIterator(const std::filesystem::directory_iterator& iterator, Object* parent = nullptr);
-
-
- using value_type = DirectoryIterator;
- using difference_type = std::ptrdiff_t;
- using pointer = const DirectoryIterator*;
- using reference = const DirectoryIterator&;
- using iterator_category = std::input_iterator_tag;
-
- DirectoryIterator& operator++();
-
- bool operator==(const DirectoryIterator& rhs) const noexcept;
-
- bool operator!=(const DirectoryIterator& rhs) const noexcept;
-
- DirectoryIterator begin() const;
- DirectoryIterator end() const;
-
- const DirectoryEntry& operator*() const noexcept;
-
- const DirectoryEntry* operator->() const noexcept;
-
- protected:
- DirectoryIterator(DirectoryIteratorPrivate& d, Object* parent = nullptr);
- };
- }
-}
diff --git a/QtRpa/include/common/elementparser.h b/QtRpa/include/common/elementparser.h
deleted file mode 100644
index 4838b75..0000000
--- a/QtRpa/include/common/elementparser.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-
-namespace shelllet {
- namespace common {
- class ElementParserPrivate;
- class ElementParser : public Object , public boost::serialization::singleton{
- Q_DECLARE_PRIVATE(ElementParser)
- public:
- ElementParser();
- void parseElement();
-
- std::list> data() const;
-
-
- String keyDisplay() const;
-
- String keyDecoration() const;
-
- String keySystem() const;
- };
- }
-}
diff --git a/QtRpa/include/common/environment.h b/QtRpa/include/common/environment.h
deleted file mode 100644
index d6776f1..0000000
--- a/QtRpa/include/common/environment.h
+++ /dev/null
@@ -1,71 +0,0 @@
-#pragma once
-#include "framework.h"
-#include "object.h"
-#include "qstring.h"
-#include "qstandardpaths.h"
-#include "boost/serialization/singleton.hpp"
-#include "qicon.h"
-#include "path.h"
-namespace shelllet {
- namespace common {
- struct Options {
- std::filesystem::path modules_path;
- QString extension;
- QString pkg_extension;
- std::filesystem::path home;
-
- QString config_filename;
-
- QString pkg_res;
- QString readme_filename;
-
- QString mime_data_type;
- // QString version;
- //QString organization_name;
- QString pipe_name;
- QString dump_remote;
-
- QString applicationName;
-
- std::filesystem::path modPath;
- std::filesystem::path module_search_path;
- int depth = 1; // tree depth
- };
- class EnvironmentPrivate;
- class Environment : public Object {
- Q_DECLARE_PRIVATE(Environment)
- public:
- Environment();
- public:
- void setModulePath(const QString& path);
- Path indexXmlPath() const;
-
- std::filesystem::path storagePath() const;
- std::filesystem::path logsPath() const;
- std::filesystem::path dumpPath() const;
-
- std::filesystem::path modPath() const;
- QIcon getIconByName(const String &name) const;
- QIcon iconMods(const std::string& filename) const;
- QPixmap pixmap(const std::string& name) const;
- String getIconFileName(const String &name) const;
- static Environment* getInstanceRef();
- static const Environment* getInstance();
-
- Options const* getOptions() const;
-
- Path getViewPath() const;
- Path getModePath() const;
- String getPkgSrcName() const;
- String getScriptExtension() const;
- Path getAssetsPath() const;
- Path getActivitiesPath() const;
-
- Path getCurrentProjectPath() const;
- void setCurrentFilePath(const Path& path);
-
- Path getTemplatePath() const;
- String getIndexFileName() const;
- };
- }
-}
\ No newline at end of file
diff --git a/QtRpa/include/common/file.h b/QtRpa/include/common/file.h
deleted file mode 100644
index 82811bb..0000000
--- a/QtRpa/include/common/file.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-#include "common.hpp"
-namespace shelllet {
- namespace common {
- class FilePrivate;
- class File : public Object {
- Q_DECLARE_PRIVATE(File)
- public:
- File();
- File(const String& name);
- File(const Path& path);
- static String readAllAsText(const Path& path);
-
- File& operator<<(const String& str);
-
- void write(const String &data);
-
- static void copy(const Path& src, const Path& target);
- protected:
- File(FilePrivate& d);
- };
- }
-}
diff --git a/QtRpa/include/common/format.h b/QtRpa/include/common/format.h
deleted file mode 100644
index 443ac51..0000000
--- a/QtRpa/include/common/format.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-#include
-#include
-
-namespace shelllet {
- namespace common {
- class Format
- {
- public:
- Format();
- virtual ~Format() { }
-
- std::string format(const std::string& c);
- void initialize(int argc, char* argv[]);
- private:
- std::unique_ptr llvm_;
- };
- Q_GLOBAL_STATIC(Format, glFormat)
- }
-}
\ No newline at end of file
diff --git a/QtRpa/include/common/framework.h b/QtRpa/include/common/framework.h
deleted file mode 100644
index 83ab765..0000000
--- a/QtRpa/include/common/framework.h
+++ /dev/null
@@ -1,90 +0,0 @@
-#pragma once
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include