diff options
author | Andrej Shadura <andrewsh@debian.org> | 2018-05-08 15:59:31 +0200 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2018-05-08 15:59:31 +0200 |
commit | 47aa8b00b2b11df13a100489e0f904a4947177ef (patch) | |
tree | b35c9acc778ea2f761f3c549f7bee2f4491b3144 /hwplugins | |
parent | 5b8466f7fae0e071c0f4eda13051c93313910028 (diff) |
Import Upstream version 1.4.7
Diffstat (limited to 'hwplugins')
-rw-r--r-- | hwplugins/README | 3 | ||||
-rw-r--r-- | hwplugins/plug-in_template.txt | 47 |
2 files changed, 50 insertions, 0 deletions
diff --git a/hwplugins/README b/hwplugins/README new file mode 100644 index 0000000..a25f20a --- /dev/null +++ b/hwplugins/README @@ -0,0 +1,3 @@ +This directory contains HW control plug-ins for this IDE. Please refer to the +official project documentation available in "../doc/handbook/mcu8051ide.en.pdf" +for details. diff --git a/hwplugins/plug-in_template.txt b/hwplugins/plug-in_template.txt new file mode 100644 index 0000000..151c768 --- /dev/null +++ b/hwplugins/plug-in_template.txt @@ -0,0 +1,47 @@ +#!/usr/bin/tclsh + +############################################################################ +# Copyright (C) <Year> by <Your Name> # +# <your_email@example.com> # +############################################################################ + +# -------------------------------------------------------------------------- +# DESCRIPTION +# +# -------------------------------------------------------------------------- + +set AUTHOR "<Your Name>" +set EMAIL "<your_email@example.com>" +set P_VERSION "0.1" +set MIN_IDE_VER "1.3" + +## Free resources occupied by this plug-in + # @return void +proc dispose {} { +} + +## Initialize the plug-in + # @parm Widget main_frame - Frame for this plugin assigned by MCU 8051 IDE HW plugin manager + # @parm Object project_object - Reference to MCU 8051 IDE project object + # @parm String current_namespace - Namespace for this plugin assigned by MCU 8051 IDE HW plugin manager + # @parm String directory - Directory location of this file (not all plugin files) + # @return void +proc init {main_frame project_object current_namespace directory} { +} + +## Restore previous session + # @parm String session_data - Data returned by function save_session + # @return void +proc restore_session {session_data} { +} + +## Save plug-in session + # @return String - Session data for function restore_session +proc save_session {} { +} + +## Is plugin busy ? + # @return Bool - 1 == Yes; 0 == No +proc is_busy {} { + return 0 +} |