亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? scripting.h

?? Powerful and Portable GPS application -- support Linux, Windows, Windows CE GPS navigation and Map m
?? H
字號(hào):
/* *  Roadnav *  Scripting.h * *  Copyright (c) 2004 - 2007 Richard L. Lynch <rllynch@users.sourceforge.net> * *  This program is free software; you can redistribute it and/or *  modify it under the terms of version 2 of the GNU General Public License *  as published by the Free Software Foundation. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU General Public License for more details. * *  You should have received a copy of the GNU General Public License *  along with this program; if not, write to the Free Software *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA *////////////////////////////////////////////////////////////////////////////////// \file////// Scripting functions/////////////////////////////////////////////////////////////////////////////////#ifndef SCRIPTING_H#define SCRIPTING_H#ifdef USE_SCRIPTING#include <wx/wx.h>#include <wx/thread.h>#include <wx/datetime.h>#include <wx/stream.h>#include <wx/socket.h>#include <list>#include "libroadnav/MapControl.h"#define DEFAULT_SCRIPTING_TCP_PORT_NUMBER		12937wxString GetScriptExportFilename();bool GetScriptAppendMode();//////////////////////////////////////////////////////////////////////////////////// \brief This class holds a single stream that feeds scripting commands/// to the Scripting class./////////////////////////////////////////////////////////////////////////////////class ScriptStream{	public:		ScriptStream(wxInputStream * pInputStream, wxOutputStream * pOutputStream, wxSocketBase * pSocket);		~ScriptStream();				wxInputStream * m_pInputStream;		wxString m_strInputBuffer;		wxOutputStream * m_pOutputStream;				wxSocketBase * m_pSocket;				wxDateTime m_tLastRead;};//////////////////////////////////////////////////////////////////////////////////// \brief Scripting engine - manages all of the ScriptStream streams/// and various scripting servers.//////////////////////////////////////////////////////////////////////////////////**\section ScriptingCommands Scripting CommandsThe scripting engines supports the commands described in the following sections.In each case, arguments are separated from each other by tabs, and the end of acommand is signaled by a carriage return.\subsection ADD_WAYPOINT ADD_WAYPOINT The ADD_WAYPOINT creates a new waypoint, or updates an existing one. It acceptsone of the following sets of arguments:ADD_WAYPOINT <name> <visible> <call_out> <small_label> <icon_filename> <long> <lat> [scale_icon]ADD_WAYPOINT <name> <visible> <call_out> <small_label> <icon_filename> <street_#> <street_name> <street_type> <city> <state> [scale_icon]where:<name> is the name of the waypoint being created or updated.<visible> is either 1 or 0, indicating if the waypoint should be visible or not.<call_out> is either 1 or 0, indicating if a callout box should be shown or not.<small_label> is either 1 or 0, indicating if a small label just showing the waypoint name should be visible or not.<icon_filename> is the name of the icon that should be shown for the marker. It may be blank to have no icon shown.[scale_icon] is optional and is either 1 or 0, indicating if the waypoint's icon should be scaled based on the zoom level of the map.<long> is the longitude of the marker. If must be in ddd.ddddddd format at this time.<lat> is the latitude of the marker. If must be in ddd.ddddddd format at this time.<street_#> is the street number of the marker's address.<street_name> is the street name of the marker's address.<street_type> is the street type of the marker's address (drive, lane, road, etc.).<city> is the city of the marker's address.<state> is the state of the marker's address.\subsection GET_WAYPOINT GET_WAYPOINTGET_WAYPOINT takes a single argument - the name of a marker. It returns the address of the requested marker.\subsection DELETE_WAYPOINT DELETE_WAYPOINTDELETE_WAYPOINT takes a single argument - the name of a marker. It immediately deletes the specified marker.\subsection EXIT EXITEXIT does not take any arguments. It immediately closes Roadnav.\section ScriptingAccess Accessing the Scripting EngineThe scripting engine can be accessed either through a TCP connection, or through script files. If the TCP server is enabled in preferences, thenRoadnav will listen for TCP connections on the specified port (default12937). By default connections must come from the computer that is runningRoadnav, however, this can be changed from preferences. Clients connectedto that TCP port may issue scripting commands and receive back results.The scripting engine can also read commands from ordinary text files.In the typical use case, on the car computer, in preferences, the startup script enabled option would be checked, and Roadnav would read the script from a USB stick or other removable media. The script would be generated on a different computer, generally a desktop machine. This way, waypointsand other settings can be configured from the convenience of a desktopmachine, and then fed into a (typically keyboard-less) car computer foractual use.*/class Scripting{	public:		Scripting(wxWindow * pParent, MapControl * pctlMap);		~Scripting();		void Pump();				bool RunFromFile(wxString strFilename);				bool AddTCPServer(int iPort, bool bLocalConnectionsOnly);		void DeleteAllTCPServers();			static bool WriteWaypointToFile(wxString strFilename, bool bAppend, const MapMarker & cMarker);	private:		void PumpScripts();		void PumpServers();		void AddScript(wxInputStream * pInputStream, wxOutputStream * pOutputStream, wxSocketBase * pSocket);		void AddServer(wxSocketServer * pServer);				std::list<wxString> ExecuteCommand(wxString strCmdAndArgs);		std::list<wxString> ExecuteCommand(std::list<wxString> vCmdAndArgs);				std::list<wxString> CommandAddWaypoint(wxString strCmd, std::list<wxString> vArgs);		std::list<wxString> CommandGetWaypoint(wxString strCmd, std::list<wxString> vArgs);		std::list<wxString> CommandDeleteWaypoint(wxString strCmd, std::list<wxString> vArgs);		std::list<wxString> CommandExit(wxString strCmd, std::list<wxString> vArgs);			static wxString CompileCommand(std::list<wxString> vCmdAndArgs);				/// associated map control		MapControl * m_pctlMap;				/// Streams associated with this scripting engine		std::vector<ScriptStream *> m_vScripts;				/// Mutex protecting m_vScripts		wxMutex m_mtxScripts;		/// Socket servers associated with this engine		std::vector<wxSocketServer *> m_vServers;				/// Mutex protecting m_vServers		wxMutex m_mtxServers;				/// Parent window		wxWindow * m_pParent;};#endif#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆91在线播放免费| 久久免费看少妇高潮| 亚洲免费三区一区二区| 不卡的av在线播放| 亚洲视频一二三| 欧美日韩中文字幕一区二区| 亚洲一区在线观看免费| 欧美日韩在线一区二区| 美女视频一区在线观看| 精品国产a毛片| 粉嫩嫩av羞羞动漫久久久| 自拍偷拍亚洲激情| 欧美三级欧美一级| 国产一区二区三区高清播放| 国产精品水嫩水嫩| 欧美在线免费视屏| 国内精品国产三级国产a久久| 国产人久久人人人人爽| 91福利在线导航| 精品一区二区三区视频在线观看| 国产亚洲精品aa| 91麻豆6部合集magnet| 日本视频在线一区| 一区在线观看视频| 欧美一区在线视频| www.欧美日韩| 国产乱子伦一区二区三区国色天香 | 欧美成人三级在线| 成人avav在线| 麻豆91免费观看| 亚洲日本一区二区三区| 日韩精品资源二区在线| 91亚洲精品一区二区乱码| 麻豆成人久久精品二区三区小说| 国产精品国产三级国产| 欧美一区二区大片| 99r精品视频| 国产综合久久久久久鬼色| 伊人婷婷欧美激情| 国产日韩精品一区二区三区| 欧美性猛片aaaaaaa做受| 国产精品一二三| 午夜精品福利一区二区蜜股av| 欧美国产亚洲另类动漫| 日韩一区二区视频| 欧美日韩国产高清一区| 91免费精品国自产拍在线不卡| 久久91精品国产91久久小草 | 精品国产一区a| 在线观看一区二区精品视频| 国产精品综合在线视频| 青青草原综合久久大伊人精品 | 成人动漫在线一区| 蜜桃久久精品一区二区| 亚洲国产cao| 亚洲伦理在线免费看| 国产精品视频九色porn| 精品国产免费一区二区三区四区| 欧美日韩免费在线视频| 色久优优欧美色久优优| 99国产一区二区三精品乱码| 国产麻豆精品95视频| 国产在线国偷精品产拍免费yy| 天堂在线亚洲视频| 日韩国产在线一| 午夜亚洲国产au精品一区二区| 亚洲欧美日韩国产一区二区三区| 欧美激情一二三区| 国产亚洲精品7777| 欧美国产日韩在线观看| 久久精品夜色噜噜亚洲aⅴ| wwww国产精品欧美| 久久中文字幕电影| 久久日韩精品一区二区五区| 精品国产麻豆免费人成网站| 日韩三级视频中文字幕| 精品久久人人做人人爰| 欧美电影免费观看完整版| 日韩欧美一区二区视频| 日韩欧美国产午夜精品| 欧美va在线播放| 久久美女高清视频| 国产欧美日韩另类一区| 中文字幕在线观看一区| 亚洲日穴在线视频| 亚洲一区二区三区在线播放| 国产成人av一区二区三区在线 | 奇米在线7777在线精品| 久久狠狠亚洲综合| 国产一区999| 99re成人精品视频| 欧美午夜理伦三级在线观看| 欧美美女直播网站| 精品国产91亚洲一区二区三区婷婷 | 4438x亚洲最大成人网| 日韩免费一区二区| 欧美国产一区视频在线观看| 亚洲欧美另类在线| 五月综合激情网| 蜜桃视频在线观看一区二区| 国产一区二区三区久久悠悠色av| 成人精品国产免费网站| 色88888久久久久久影院按摩| 欧美日韩大陆一区二区| 精品国产电影一区二区| 中文字幕日韩一区二区| 五月激情六月综合| 国产aⅴ综合色| 在线观看网站黄不卡| 日韩欧美国产一区在线观看| 国产精品天干天干在观线| 亚洲一区中文日韩| 国产精品18久久久久久久久久久久 | 国产色产综合产在线视频| 亚洲欧美韩国综合色| 男女男精品视频| 97超碰欧美中文字幕| 日韩欧美综合一区| 亚洲欧美在线高清| 久草精品在线观看| 欧洲视频一区二区| 国产日产欧美一区二区视频| 亚洲高清在线视频| 丁香天五香天堂综合| 欧美主播一区二区三区美女| 国产喷白浆一区二区三区| 午夜精品久久久久久久99樱桃| 高清国产一区二区| 日韩免费成人网| 亚洲精品自拍动漫在线| 国产精品66部| 精品国偷自产国产一区| 亚洲国产欧美在线| 91最新地址在线播放| 久久蜜桃av一区精品变态类天堂| 日日摸夜夜添夜夜添国产精品 | 粗大黑人巨茎大战欧美成人| 91精品一区二区三区久久久久久| 亚洲欧洲av在线| 福利一区二区在线| 精品国产一区二区精华| 日本91福利区| 欧美三级在线看| 亚洲乱码一区二区三区在线观看| 国产99久久久国产精品免费看 | 亚洲欧洲av另类| 国产成人自拍网| 精品黑人一区二区三区久久 | 亚洲婷婷综合久久一本伊一区| 国产呦萝稀缺另类资源| 这里只有精品99re| 亚洲成人免费观看| 欧美午夜精品电影| 亚洲特黄一级片| 波多野结衣在线一区| 国产精品―色哟哟| 成人在线视频一区二区| 欧美激情一区二区三区全黄| 国产福利不卡视频| 久久精品视频一区二区| 国产精品99久久久久久宅男| 久久综合久久久久88| 韩国在线一区二区| 久久品道一品道久久精品| 国产成人8x视频一区二区| 国产日本欧美一区二区| 成年人国产精品| 国产精品福利一区二区三区| 不卡免费追剧大全电视剧网站| 综合网在线视频| 色悠悠亚洲一区二区| 一区av在线播放| 欧美美女一区二区三区| 蜜桃视频免费观看一区| 久久久久国产成人精品亚洲午夜| 国产一区二区不卡| 亚洲国产高清在线| 日本韩国欧美国产| 亚洲国产wwwccc36天堂| 欧美一区二区三区免费视频| 久久激情五月激情| 国产精品久久久久久久久晋中 | 日韩美一区二区三区| 精品一区二区三区影院在线午夜| 久久久夜色精品亚洲| 99精品国产视频| 亚洲成在线观看| 日韩免费视频线观看| 国产成人啪午夜精品网站男同| 亚洲欧美综合色| 欧美日本国产视频| 狠狠色狠狠色综合日日91app| 国产清纯美女被跳蛋高潮一区二区久久w| eeuss鲁片一区二区三区在线观看| 亚洲精品中文在线影院| 欧美日韩精品是欧美日韩精品| 韩国三级中文字幕hd久久精品| 久久久777精品电影网影网 | 国产成人精品影视| 亚洲制服欧美中文字幕中文字幕|