1 { 2 ***************************************************************************** 3 * WSFactory.pas * 4 * ------------- * 5 * * 6 * * 7 ***************************************************************************** 8 9 ***************************************************************************** 10 This file is part of the Lazarus Component Library (LCL) 11 12 See the file COPYING.modifiedLGPL.txt, included in this distribution, 13 for details about the license. 14 ***************************************************************************** 15 } 16 unit WSFactory; 17 18 {$mode objfpc}{$H+} 19 {$I lcl_defines.inc} 20 21 interface 22 23 { These functions are implemented by the LCL backends. 24 If you get a linker error for one of these functions you probably forgot 25 to add the unit "interfaces" to your program. 26 The unit interfaces must be added as one of the first units of the main program. 27 28 Example for a linker error: 29 /path/to/lazarus/lcl/units/x86_64-linux/wsimglist.o: In function `RegisterCustomImageListResolution': 30 /path/to/lazarus/lcl//widgetset/wsimglist.pp:266: undefined reference to `WSRegisterCustomImageListResolution' 31 } 32 33 // imglist WSRegisterCustomImageListResolutionnull34function WSRegisterCustomImageListResolution: Boolean; external name 'WSRegisterCustomImageListResolution'; 35 // controls WSRegisterDragImageListResolutionnull36function WSRegisterDragImageListResolution: Boolean; external name 'WSRegisterDragImageListResolution'; WSRegisterLazAccessibleObjectnull37function WSRegisterLazAccessibleObject: Boolean; external name 'WSRegisterLazAccessibleObject'; WSRegisterControlnull38function WSRegisterControl: Boolean; external name 'WSRegisterControl'; WSRegisterWinControlnull39function WSRegisterWinControl: Boolean; external name 'WSRegisterWinControl'; WSRegisterGraphicControlnull40function WSRegisterGraphicControl: Boolean; external name 'WSRegisterGraphicControl'; WSRegisterCustomControlnull41function WSRegisterCustomControl: Boolean; external name 'WSRegisterCustomControl'; 42 // comctrls WSRegisterStatusBarnull43function WSRegisterStatusBar: Boolean; external name 'WSRegisterStatusBar'; WSRegisterTabSheetnull44function WSRegisterTabSheet: Boolean; external name 'WSRegisterTabSheet'; WSRegisterPageControlnull45function WSRegisterPageControl: Boolean; external name 'WSRegisterPageControl'; WSRegisterCustomListViewnull46function WSRegisterCustomListView: Boolean; external name 'WSRegisterCustomListView'; WSRegisterCustomProgressBarnull47function WSRegisterCustomProgressBar: Boolean; external name 'WSRegisterCustomProgressBar'; WSRegisterCustomUpDownnull48function WSRegisterCustomUpDown: Boolean; external name 'WSRegisterCustomUpDown'; WSRegisterCustomToolButtonnull49function WSRegisterCustomToolButton: Boolean; external name 'WSRegisterCustomToolButton'; WSRegisterToolBarnull50function WSRegisterToolBar: Boolean; external name 'WSRegisterToolBar'; WSRegisterCustomTrackBarnull51function WSRegisterCustomTrackBar: Boolean; external name 'WSRegisterCustomTrackBar'; WSRegisterCustomTreeViewnull52function WSRegisterCustomTreeView: Boolean; external name 'WSRegisterCustomTreeView'; 53 // calender WSRegisterCustomCalendarnull54function WSRegisterCustomCalendar: Boolean; external name 'WSRegisterCustomCalendar'; 55 // dialogs WSRegisterCommonDialognull56function WSRegisterCommonDialog: Boolean; external name 'WSRegisterCommonDialog'; WSRegisterFileDialognull57function WSRegisterFileDialog: Boolean; external name 'WSRegisterFileDialog'; WSRegisterOpenDialognull58function WSRegisterOpenDialog: Boolean; external name 'WSRegisterOpenDialog'; WSRegisterSaveDialognull59function WSRegisterSaveDialog: Boolean; external name 'WSRegisterSaveDialog'; WSRegisterSelectDirectoryDialognull60function WSRegisterSelectDirectoryDialog: Boolean; external name 'WSRegisterSelectDirectoryDialog'; WSRegisterColorDialognull61function WSRegisterColorDialog: Boolean; external name 'WSRegisterColorDialog'; WSRegisterColorButtonnull62function WSRegisterColorButton: Boolean; external name 'WSRegisterColorButton'; WSRegisterFontDialognull63function WSRegisterFontDialog: Boolean; external name 'WSRegisterFontDialog'; 64 // StdCtrls WSRegisterCustomScrollBarnull65function WSRegisterCustomScrollBar: Boolean; external name 'WSRegisterCustomScrollBar'; WSRegisterCustomGroupBoxnull66function WSRegisterCustomGroupBox: Boolean; external name 'WSRegisterCustomGroupBox'; WSRegisterCustomComboBoxnull67function WSRegisterCustomComboBox: Boolean; external name 'WSRegisterCustomComboBox'; WSRegisterCustomListBoxnull68function WSRegisterCustomListBox: Boolean; external name 'WSRegisterCustomListBox'; WSRegisterCustomEditnull69function WSRegisterCustomEdit: Boolean; external name 'WSRegisterCustomEdit'; WSRegisterCustomMemonull70function WSRegisterCustomMemo: Boolean; external name 'WSRegisterCustomMemo'; WSRegisterButtonControlnull71function WSRegisterButtonControl: Boolean; external name 'WSRegisterButtonControl'; WSRegisterCustomButtonnull72function WSRegisterCustomButton: Boolean; external name 'WSRegisterCustomButton'; WSRegisterCustomCheckBoxnull73function WSRegisterCustomCheckBox: Boolean; external name 'WSRegisterCustomCheckBox'; WSRegisterToggleBoxnull74function WSRegisterToggleBox: Boolean; external name 'WSRegisterToggleBox'; WSRegisterRadioButtonnull75function WSRegisterRadioButton: Boolean; external name 'WSRegisterRadioButton'; WSRegisterCustomStaticTextnull76function WSRegisterCustomStaticText: Boolean; external name 'WSRegisterCustomStaticText'; WSRegisterCustomLabelnull77function WSRegisterCustomLabel: Boolean; external name 'WSRegisterCustomLabel'; 78 // extctrls WSRegisterCustomPagenull79function WSRegisterCustomPage: Boolean; external name 'WSRegisterCustomPage'; WSRegisterCustomNotebooknull80function WSRegisterCustomNotebook: Boolean; external name 'WSRegisterCustomNotebook'; WSRegisterShapenull81function WSRegisterShape: Boolean; external name 'WSRegisterShape'; WSRegisterCustomSplitternull82function WSRegisterCustomSplitter: Boolean; external name 'WSRegisterCustomSplitter'; WSRegisterPaintBoxnull83function WSRegisterPaintBox: Boolean; external name 'WSRegisterPaintBox'; WSRegisterCustomImagenull84function WSRegisterCustomImage: Boolean; external name 'WSRegisterCustomImage'; WSRegisterBevelnull85function WSRegisterBevel: Boolean; external name 'WSRegisterBevel'; WSRegisterCustomRadioGroupnull86function WSRegisterCustomRadioGroup: Boolean; external name 'WSRegisterCustomRadioGroup'; WSRegisterCustomCheckGroupnull87function WSRegisterCustomCheckGroup: Boolean; external name 'WSRegisterCustomCheckGroup'; WSRegisterCustomLabeledEditnull88function WSRegisterCustomLabeledEdit: Boolean; external name 'WSRegisterCustomLabeledEdit'; WSRegisterCustomPanelnull89function WSRegisterCustomPanel: Boolean; external name 'WSRegisterCustomPanel'; WSRegisterCustomTrayIconnull90function WSRegisterCustomTrayIcon: Boolean; external name 'WSRegisterCustomTrayIcon'; 91 //ExtDlgs WSRegisterPreviewFileControlnull92function WSRegisterPreviewFileControl: Boolean; external name 'WSRegisterPreviewFileControl'; WSRegisterPreviewFileDialognull93function WSRegisterPreviewFileDialog: Boolean; external name 'WSRegisterPreviewFileDialog'; WSRegisterOpenPictureDialognull94function WSRegisterOpenPictureDialog: Boolean; external name 'WSRegisterOpenPictureDialog'; WSRegisterSavePictureDialognull95function WSRegisterSavePictureDialog: Boolean; external name 'WSRegisterSavePictureDialog'; WSRegisterCalculatorDialognull96function WSRegisterCalculatorDialog: Boolean; external name 'WSRegisterCalculatorDialog'; WSRegisterCalculatorFormnull97function WSRegisterCalculatorForm: Boolean; external name 'WSRegisterCalculatorForm'; WSRegisterCalendarDialogFormnull98//function WSRegisterCalendarDialogForm: Boolean; external name 'WSRegisterCalendarDialogForm'; 99 function WSRegisterCalendarDialog: Boolean; external name 'WSRegisterCalendarDialog'; 100 // Buttons WSRegisterCustomBitBtnnull101function WSRegisterCustomBitBtn: Boolean; external name 'WSRegisterCustomBitBtn'; WSRegisterCustomSpeedButtonnull102function WSRegisterCustomSpeedButton: Boolean; external name 'WSRegisterCustomSpeedButton'; 103 // CheckLst WSRegisterCustomCheckListBoxnull104function WSRegisterCustomCheckListBox: Boolean; external name 'WSRegisterCustomCheckListBox'; 105 // Forms WSRegisterScrollingWinControlnull106function WSRegisterScrollingWinControl: Boolean;external name 'WSRegisterScrollingWinControl'; WSRegisterScrollBoxnull107function WSRegisterScrollBox: Boolean; external name 'WSRegisterScrollBox'; WSRegisterCustomFramenull108function WSRegisterCustomFrame: Boolean; external name 'WSRegisterCustomFrame'; WSRegisterCustomFormnull109function WSRegisterCustomForm: Boolean; external name 'WSRegisterCustomForm'; WSRegisterHintWindownull110function WSRegisterHintWindow: Boolean; external name 'WSRegisterHintWindow'; 111 // Grids WSRegisterCustomGridnull112function WSRegisterCustomGrid: Boolean; external name 'WSRegisterCustomGrid'; 113 // Menus WSRegisterMenuItemnull114function WSRegisterMenuItem: Boolean; external name 'WSRegisterMenuItem'; WSRegisterMenunull115function WSRegisterMenu: Boolean; external name 'WSRegisterMenu'; WSRegisterMainMenunull116function WSRegisterMainMenu: Boolean; external name 'WSRegisterMainMenu'; WSRegisterPopupMenunull117function WSRegisterPopupMenu: Boolean; external name 'WSRegisterPopupMenu'; 118 // PairSplitter WSRegisterPairSplitterSidenull119function WSRegisterPairSplitterSide: Boolean; external name 'WSRegisterPairSplitterSide'; WSRegisterCustomPairSplitternull120function WSRegisterCustomPairSplitter: Boolean; external name 'WSRegisterCustomPairSplitter'; 121 // Spin WSRegisterCustomFloatSpinEditnull122function WSRegisterCustomFloatSpinEdit: Boolean;external name 'WSRegisterCustomFloatSpinEdit'; 123 // RubberBand WSRegisterCustomRubberBandnull124function WSRegisterCustomRubberBand: Boolean; external name 'WSRegisterCustomRubberBand'; 125 // LazDeviceAPIs WSRegisterLazDeviceAPIsnull126function WSRegisterLazDeviceAPIs: Boolean; external name 'WSRegisterLazDeviceAPIs'; 127 128 implementation 129 130 end. 131 132