Open
Conversation
…amander into translation_spl_base
janrysavy
reviewed
Jan 2, 2024
| #endif // __BORLANDC__ | ||
|
|
||
| // v debug verzi budeme testovat, jestli se neprekryvaji zdrojova a cilova pamet (pro memcpy se nesmi prekryvat) | ||
| // in debug version, we will test if source and destination memory overlap (memcpy must not overlap) |
Contributor
There was a problem hiding this comment.
// in the debug version, we will test whether the source and destination memory do not overlap (for memcpy, they must not overlap)
| // POZOR: nutne zapnout tez pro kazdy plugin zvlast | ||
| // makro CALLSTK_DISABLEMEASURETIMES - potlaci mereni casu straveneho pri priprave call-stack hlaseni v DEBUG/SDK/PB verzi | ||
| // macro CALLSTK_MEASURETIMES - enables measuring of time spent by preparing call-stack messages (ratio against | ||
| // total time of functions is measured) |
Contributor
There was a problem hiding this comment.
(...) -> (measured as a ratio against the total runtime of the functions)
| // ve vsech volanych metodach pluginu je mozne CALL_STACK metody pouzit primo, | ||
| // tato metoda se pouziva pouze pro nove thready pluginu, | ||
| // spousti funkci 'threadBody' s parametrem 'param', vraci vysledek funkce 'threadBody' | ||
| // loads into thread the things needed for CALL-STACK methods (see Push and Pop below), |
Contributor
There was a problem hiding this comment.
loads into thread -> introduces to the thread
| // focus is on the file, for which this plugin provides "panel archiver view" or "panel archiver edit" | ||
| #define MENU_EVENT_ARCHIVE_FOCUSED 0x2000 | ||
| // uz je k dispozici jen 0x4000 (masky se skladaji obe do DWORDu a predtim se maskuji 0x7FFF) | ||
| // only 0x4000 is available (the mask is composed of two DWORDs and before it is masked by 0x7FFF) |
Contributor
There was a problem hiding this comment.
(both masks are masked with 0x7FFF and merged to DWORD)
| // thumbnail loaders - see CPluginInterfaceForThumbLoaderAbstract. | ||
| // The parts are connected to CPluginInterfaceAbstract through CPluginInterfaceAbstract::GetInterfaceForXXX | ||
|
|
||
| // flags indicating which functions the plugin provides (which methods of CPluginInterfaceAbstract |
Contributor
There was a problem hiding this comment.
(...) -> (which methods of the descendant CPluginInterfaceAbstract are actually implemented in the plugin)
| of configuration - CURRENT_CONFIG_VERSION (in the first version of method Connect | ||
| is CURRENT_CONFIG_VERSION=1) | ||
| - to basic part (before conditions "if (ConfigVersion < YYY)"): | ||
| - code for installation of plugin is written (first load of plugin): |
| or added some, he has bad luck, he will have to do it manually again) | ||
| - AddMenuItem, SetChangeDriveMenuItem and SetThumbnailLoader works with every load | ||
| of plugin the same (installation/upgrades do not differ - it always starts from scratch) | ||
|
|
| - AddMenuItem, SetChangeDriveMenuItem and SetThumbnailLoader works with every load | ||
| of plugin the same (installation/upgrades do not differ - it always starts from scratch) | ||
|
|
||
| - during upgrades only: into the part for upgrades (for the basic part): |
Contributor
There was a problem hiding this comment.
(...) -> (after the basic part)
| for "panel archiver") | ||
| -mask "*.dmp2" was added to AddViewer (because we add extension "dmp2" for "viewer") | ||
| -condition for upgrade to version 3 was added + comment for this upgrade, | ||
| body of condition: |
| -mask "*.dmp2" was added to AddViewer (because we add extension "dmp2" for "viewer") | ||
| -condition for upgrade to version 3 was added + comment for this upgrade, | ||
| body of condition: | ||
| -calling AddPanelArchiver for extension "dmp2" with 'updateExts' TRUE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.