mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-03 09:39:52 +02:00
IDE: fcl: TServiceManager
git-svn-id: trunk@30991 -
This commit is contained in:
parent
991921086d
commit
14c0268a08
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -4329,6 +4329,7 @@ images/LazarusForm.ico -text svneol=unset#image/x-icon
|
||||
images/LazarusProject.ico -text svneol=unset#image/x-icon
|
||||
images/LazarusSource.bmp -text svneol=unset#image/bmp
|
||||
images/LazarusSource.ico -text svneol=unset#image/x-icon
|
||||
images/README.txt svneol=native#text/plain
|
||||
images/actions/arrow_down.png -text svneol=unset#image/png
|
||||
images/actions/arrow_left.png -text svneol=unset#image/png
|
||||
images/actions/arrow_right.png -text svneol=unset#image/png
|
||||
@ -4472,6 +4473,7 @@ images/components/tsavepicturedialog.png -text svneol=unset#image/png
|
||||
images/components/tscrollbar.png -text svneol=unset#image/png
|
||||
images/components/tscrollbox.png -text svneol=unset#image/png
|
||||
images/components/tselectdirectorydialog.png -text svneol=unset#image/png
|
||||
images/components/tservicemanager.png -text svneol=unset#image/png
|
||||
images/components/tshape.png -text svneol=unset#image/png
|
||||
images/components/tshelllistview.png -text
|
||||
images/components/tshelltreeview.png -text
|
||||
|
55
images/README.txt
Normal file
55
images/README.txt
Normal file
@ -0,0 +1,55 @@
|
||||
This directory contains all images needed by the IDE.
|
||||
Images are stored in lazarus resource files (.lrs). Each icon is stored
|
||||
in png or xpm format.
|
||||
|
||||
bookmark.lrs - Icons for bookmarks
|
||||
codetoolsdefines.lrs - Icons for CodeTools Defines Editor
|
||||
components_images.lrs - Icons and pics for lcl components
|
||||
mainicon.lrs - This is the IDE program icon.
|
||||
laz_images.lrs - The icons for the speedbuttons, the menu (Open, Save,...),
|
||||
package windows, codeexplorer
|
||||
splash.lrs - the lazarus logo at IDE start
|
||||
unitdependencies.lrs - Icons for the unit dependencies.
|
||||
|
||||
How to update the image resources:
|
||||
|
||||
Creating a lazarus resource can easily be done by the lazres program.
|
||||
If you have not yet compiled lazres, go to the tools directory and type make.
|
||||
|
||||
1. bookmark.lrs
|
||||
|
||||
cd <lazarusdir>/images/
|
||||
../tools/lazres bookmark.lrs sourceeditor/*.png
|
||||
|
||||
|
||||
2. components_images.lrs
|
||||
|
||||
cd <lazarusdir>/images/
|
||||
../tools/lazres components_images.lrs @components_images_list.txt
|
||||
|
||||
|
||||
3. mainicon.lrs
|
||||
|
||||
cd <lazarusdir>/images/
|
||||
../tools/lazres mainicon.lrs mainicon.ico
|
||||
|
||||
|
||||
4. laz_images.lrs
|
||||
|
||||
cd <lazarusdir>/images/
|
||||
../tools/lazres laz_images.lrs @laz_images_list.txt
|
||||
rm ../main.ppu
|
||||
|
||||
|
||||
5. splash.lrs
|
||||
|
||||
cd <lazarusdir>/images
|
||||
./tools/lazres splash_logo.lrs splash_logo.png
|
||||
|
||||
|
||||
6. lazdoc.lrs
|
||||
|
||||
cd <lazarusdir>/images/
|
||||
../../tools/lazres ../ide/lazdoc.lrs @lazdoc.txt
|
||||
|
||||
|
BIN
images/components/tservicemanager.png
Normal file
BIN
images/components/tservicemanager.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
@ -1623,19 +1623,13 @@ LazarusResources.Add('tmouse','PNG',[
|
||||
]);
|
||||
LazarusResources.Add('tnotebook','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0
|
||||
+#0#0#1'sRGB'#0#174#206#28#233#0#0#0#6'bKGD'#0#255#0#255#0#255#160#189#167#147
|
||||
+#0#0#0#9'pHYs'#0#0#11#18#0#0#11#18#1#210#221'~'#252#0#0#0#7'tIME'#7#216#2#27
|
||||
+#8#15#19#194'T'#187#181#0#0#0#221'IDATH'#199'c'#252#255#255'?'#3'-'#1#11'6'
|
||||
+#193#221#231'?'#252'o^'#184#157'lCk'#227'='#25'\'#13#5#24#25#24#24#24#24#254
|
||||
+#255#255#143#129'm'#243#151#253#255#248#233'7'#6#198'&'#142'K'#12'f'#22#11'.'
|
||||
+'W'#220#191#247#132'hqlb'#135#15#30#250'oko'#199#200#136#28#7#21#21#147#169
|
||||
+#22'!'#222#158#250#12#182#246'v'#140#24'>'#232#232#200#165#216#240#138#138
|
||||
+#201#248'#'#153#129#129#129#225#193#131';d'#25#254#248#225'3'#204'T'#132#28
|
||||
+'4'#135#15#30'b'#176#181#183#163'Z2e'#130#6#11#163#183#167'>'#3#3#3#3#195#214
|
||||
+#237#23'Q'#188'H'#181'|`ko'#199#184'u'#251#197#255#176'8 7'#136#176'Z0'#26'D'
|
||||
+#163'A4'#26'Dt'#8'"b'#10'-'#170'Y@'#205#224'a````D'#175#244#15#31'<D'#181'J'
|
||||
+#7#163'F'#163#5'`b'#160'1'#0#0'W'#135#210'E'#250#145#14#166#0#0#0#0'IEND'#174
|
||||
+'B`'#130
|
||||
+#0#0#4'gAMA'#0#0#177#143#11#252'a'#5#0#0#0#7'tIME'#7#216#2#27#8#15#19#194'T'
|
||||
+#187#181#0#0#0#135'IDATHKc'#252#15#4#12#180#4' '#11'h'#9#24'hi88t'#232'jAy'
|
||||
+#249#164#255#212#194#135#14#28#4#187#29#197#7' '#195#169#1'@'#230#16#180#224
|
||||
+#254#253#219#255#201#193' '#131'1,@'#14#22#152#205#228#24#14#210#131#213#2'P'
|
||||
+#176#192'$`'#150'Q'#221#2#144'%'#200'q@U'#11'F'#131#8'98GS'#17#193#204'7'#26
|
||||
+'D'#228#5#17#172#4'E'#206#201#160#176'$'#23#227'-MiZ'#31#192#10'=r]'#142#174
|
||||
+#143#254'U&5j3t3'#0#170'&'#163'['#249'p'#137#178#0#0#0#0'IEND'#174'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('topendialog','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0
|
||||
@ -2124,6 +2118,72 @@ LazarusResources.Add('tselectdirectorydialog','PNG',[
|
||||
+#185#222'h'#19'm'#255'm'#249#3#220'w-'#31'8l'#136'/'#0#0#0#0'IEND'#174'B`'
|
||||
+#130
|
||||
]);
|
||||
LazarusResources.Add('tservicemanager','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0
|
||||
+#0#0#9'pHYs'#0#0#12'u'#0#0#12'u'#1'-x'#148'u'#0#0#5#163'IDATH'#137#149#149']'
|
||||
+'L['#231#25#199#127#239#241#7'6`06'#134#26#243'e'#24'+A!'#3'B'#210#172#145
|
||||
+#210'hTUSU+'#157#166#130'"U'#218'.*5'#202#186#146#165'7'#187#168#132#20'U'
|
||||
+#235#197#166'u'#233#199#182#139'5'#219'M'#148'RiCk'#165#237#162'MQ'#213'.!%'
|
||||
+#144#143#134#130#192'|'#5#219#241#23#28#236'c'#251#216'>>g'#23'$'#8#18'6%G:'
|
||||
+#210'{'#158#247'y~'#255#231'}'#206#243#190#175#224'!'#159#177'_'#255#228#182
|
||||
+'*'#217#234#1'l'#186#186'z'#244'7'#127'ox'#152'8i7'#227#194#169#3'}So'#244
|
||||
+#157#11#14'u'#213#2#204#158'>|'#210#168#170#175'?'#248#204#11#28'|'#246'Ep7'
|
||||
+#212#207#158'>|'#18' 8'#212'U;'#245'F'#223#185#133'S'#7#250'vc'#137#251#13
|
||||
+#147#167#127't.Z'#222#240'3G'#181#23'%'#188#164'zr'#209#11#9#179#243#199'u'
|
||||
+#221'G\'#223#219#255'$'#8#137#192#212'%'#130#19'_'#172#185'5'#249#159#177#146
|
||||
+#154'AG'#157#223#150#140#133#169'QV'#254#218#243#187#139'?'#255#159#2's'#167
|
||||
+#158#24'X'#170#238#186#176'o'#255#19'Tx'#188#220#137'D'#136#5#151#241#248#26
|
||||
+#169#169#247'c24'#0#138#146#133#232#202#2#177#208#10#158#186'F'#30#243'zI'
|
||||
+#173''''#184'q'#229'k'#154#162'W'#7#219'~?'#254#209#174#2#203'C='#157#183'*:'
|
||||
+'o'#28'~'#250#24#22#139#5'QR'#134'0'#153'0'#242'*'#134#150#199#208#242#155'A'
|
||||
+'f'#235#230'k'#181'c'#20'5'#140'\'#154'"'#18#229#185#254#205#249#163'b'#139
|
||||
+#187#227#31'4'#189'3yS'#164#215#215'dY'#134#162'F1'#186'H1'#190#138#145'WAH'
|
||||
+#8#147#5'a'#178#128#144'0'#10'9'#138#241#219#20#163#139'P'#212#182#224#0#198
|
||||
+#152'a'#220#27#155#1#166#135#14#157'LS'#210#171'bn'#204'T'#214#184#28#165'v'
|
||||
+#244'T'#2',%'#20#132#153#224'B'#128';'#193#219#228#213','#0'V[)'#222#198'f|>'
|
||||
+#31'&C'#231#138'6'#192#190'b'#142'*'#211#203';D'#196'Q!D`'#168#183#239'[['
|
||||
+#219'gng'#5#194'l'#165#209#223#138#179'dsa9'#179#157#169#171'W'#17#177#197
|
||||
+#153':6'#222#235'x'#231#242#251#247#18#10'Q'#249#11#163#166#181#221#242#228#7
|
||||
+';'#154#228')'#182#146'ga'#244#192#211#226#235#215#159#250#135#165#165#167
|
||||
+#127'OK'#19#134'^D'#8#129#158'JPt'#212#242#205#245#155#216#227#129#139'G'#254
|
||||
+'pq'#215#22#28#27#219'F'#187'O'#228#155#235#191#162#176'09*)'#186#165#221'f/'
|
||||
+#219#172'id'#145#194#226'u'#144#204','#7#195#16']'#156'yT8@*'#241'66{'#25#138
|
||||
+'ni'#151'jE'#250#252#252#173'k'#234#244'j'#12#170#188#24#186#6'&3'#225'p'#24
|
||||
+#159'H'#190#247#168#240#31'D'#223#226#214'J'#148#249'['#215#212'Z'#145'>/u'
|
||||
+#157#189't'#166#219'X='#24#152#253#14'%'#163'R'#200'f'#208#178'i'#148't'#154
|
||||
+#189'g'#175#188#255'('#240#246#255#188'H2'#157'a~f'#154'nc'#245'`'#215#217'K'
|
||||
+'g'#238#181#169#200#21'4rj'#22'UI'#146#207#169#228#181#226'#e'#254#253#153'_'
|
||||
+#162'*I'#10'9'#149#156#166#193#221'=&'#141#191#218';'#252#185#226#26#247#250
|
||||
+#26#144#242#25'2J'#146'\.'#7'Bb'#242'D'#207'k'#15#3'_'#29#253')'#249'B'#129
|
||||
+#140#146'D*d'#241'5'#250#249'\q'#141#143#191#218';,'#5#178#230#227#254#182'v'
|
||||
+'['#171#3#146's'#147'd'#149#20#217#245#24#213'U'#149'|'#151#182#190'6<<l'#252
|
||||
+'?x'#240#195'Cs'#213'U'#149'd'#215'cd'#149#20#201#185'IZ'#29#224'ok'#183#5
|
||||
+#178#230#227'R'#185#208'f'#215'e'#25'M'#7#147#167#25#171#191#11'%'#30#198#235
|
||||
+#176'b'#184#234#219'6'#179#31#222#21#30#255#176#247#203'TiM'#155#215'aE'#137
|
||||
+#135#177#250#187'0y'#154#209'tX'#151'e'#202#133'6+'#181#218#243#239#206#175#4
|
||||
+#25'_N0'#17#205#17'7U@'#185#27'5'#178#204'o'#199#230#183#213#127#167#200#220
|
||||
+#159#246#207#135'Kj'#143#244#180#214#161'F'#150#161#220'M'#220'T'#193'D4'#199
|
||||
+#248'r'#130#249#149' '#173#246#252#187#166#15'&"'#129'3?t'#202#164#229'5M'
|
||||
+#145'7f'#214'r'#141#190#198'&r'#177'U'#254'};O{{'#251#22'ti'#233'('#205#205
|
||||
+'cL'#254#237#24#30'_'#163'kO'#157#155'Bl'#153'|F'#129#218'V.O'#7#168'RB_U'#21
|
||||
+#228#175':J'#213#191#244#252#249#198#249#7#238#131'3'#207#239#147';'#187'z*'
|
||||
+#29#233'0'#167#191#136#0#208#223#223#191#195#231'Y['#144#236'z'#148'lt'#149
|
||||
+'|j'#29'GC'#27#169'2/7'#175'Mn'#188#249#233#13#231'v_'#243#246#143#217#19'{'
|
||||
+#187#207#5'K+'#29'63Jp}'#203'>::'#10#192#155#29'E'#244#188'J'#196'Q'#133#213
|
||||
+#225#164#204#191#23'k&'#133#18'Y'#197#225'n -'#149'V'#206#158#216#219#253#248
|
||||
+#31#191#157#218'U@'#206#211#137#201#204#134#170#225'l'#233#228#245#170','#161
|
||||
+#216#26'u'#30#23'u'#149'vRK'#211#136#146'rl'#205#29#132'6'#178#132#230'"'#212
|
||||
+'y\4'#181't"'#171#155''''#128#156#167#19#216#18'x'#160'D'#23'^'#234#248#232
|
||||
+#203#132#233'%'#167#219'C&'#17#201#31'r'#27#163#19#241#226#177#199#252'm'#142
|
||||
+#214#242'M'#247#128'bpgq.'#213'[m'#250#215#229#132#232'/u'#215'Z'#229'D'#140
|
||||
+'#'#238#226#200#224#200#244#192'v'#222#3#151#254#224#200#244#192'+-'#250's'
|
||||
+#29'z'#232#227#161'='#162'ipdz'#224#25#159#233#173#197'P'#12#173#204'E'#161
|
||||
+#212'E '#20#163#207'+'#189'=82}|h'#143'h'#234#208'C'#31#191#210#162'?w?'#252
|
||||
+#254#21#152#0'!'#132'('#21'B'#216'%I*'#191';.'#3#204#131#221#190'O'#226'Y'
|
||||
+#221#9'Pm'#147#228#11#215#130'/'#0'E@'#211'u=i'#24'F'#214'0'#12#217'0'#140
|
||||
+#162'a'#24#217#187's'#198#127#1'Q'#248#155'9'#232#26#23#232#0#0#0#0'IEND'#174
|
||||
+'B`'#130
|
||||
]);
|
||||
LazarusResources.Add('tshape','PNG',[
|
||||
#137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0
|
||||
+#0#1#19'IDATx^'#181#150#177#9#195'0'#16'Ee!/'#144':e'#6'H'#23'0d'#128#20#241
|
||||
|
@ -88,6 +88,7 @@ components/tsavepicturedialog.png
|
||||
components/tscrollbar.png
|
||||
components/tscrollbox.png
|
||||
components/tselectdirectorydialog.png
|
||||
components/tservicemanager.png
|
||||
components/tshape.png
|
||||
components/tshelllistview.png
|
||||
components/tshelltreeview.png
|
||||
|
@ -39,6 +39,9 @@ interface
|
||||
|
||||
uses
|
||||
LazarusPackageIntf,
|
||||
{$ifdef mswindows}
|
||||
ServiceManager,
|
||||
{$endif}
|
||||
Classes, SysUtils, Process, DB, BufDataset, SimpleIPC, XMLConf, EventLog;
|
||||
|
||||
procedure Register;
|
||||
@ -75,6 +78,13 @@ begin
|
||||
RegisterComponents('System',[TEventLog]);
|
||||
end;
|
||||
|
||||
{$ifdef mswindows}
|
||||
procedure RegisterServiceManager;
|
||||
begin
|
||||
RegisterComponents('System',[TServiceManager]);
|
||||
end;
|
||||
{$endif mswindows}
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
RegisterUnit('DB',@RegisterDB);
|
||||
@ -82,6 +92,9 @@ begin
|
||||
RegisterUnit('SimpleIPC', @RegisterSimpleIPC);
|
||||
RegisterUnit('XMLConf',@RegisterXMLConf);
|
||||
RegisterUnit('EventLog',@RegisterEventLog);
|
||||
{$ifdef mswindows}
|
||||
RegisterUnit('ServiceManager',@RegisterServiceManager);
|
||||
{$endif mswindows}
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user