text stringlengths 14 6.51M |
|---|
unit BusinessObjects;
interface
uses
MVCFramework.Serializer.Commons;
type
TBaseBO = class
private
FID: Integer;
procedure SetID(const Value: Integer);
public
procedure CheckInsert; virtual;
procedure CheckUpdate; virtual;
procedure CheckDelete; virtual;
property ID: Integer read FID ... |
unit UServerTypes;
interface
uses
WinSock,
eiTypes;
type
TErrorLevel = (elInformation, elNotice, elWarning, elError);
ILogger = interface
['{8178CD30-F04B-4B24-948E-734C8832FB94}']
function LogPrefix(): string;
procedure Log(messageText: string; level: TErrorLevel = elInformation);... |
Unit Outils;
Interface
uses Initialisation, sysutils, SDL, SDL_image;
// Fonctions et procédures
Function verif_couleur_jeu (carte_prec, carte_select : Cartes): Boolean;
Function verif_valeur_jeu (carte_prec, carte_select : Cartes): Boolean;
Function verif_couleur_haut (carte_prec, carte_select : Cartes): Boolean;
... |
unit uRtcDmList;
interface
uses
SysUtils, Classes, rtcFunction, rtcSrvModule, rtcInfo, rtcConn, rtcDataSrv, Generics.Collections,
rtcSyncObjs;
type
PRtcDmListItem = ^RRtcDmListItem;
RRtcDmListItem = record
rtcCon: TRtcConnection;
dm: TDataModule;
end;
{ PUserInfo = ^RUserInfo;
RUserInfo = Reco... |
unit Domain.ValuesObject.Email;
interface
uses
EF.Core.Types, SysUtils, Dialogs, EF.Mapping.Base, EF.Mapping.Atributes;
type
TEmail = class(TEntityBase)
private
Fvalue: TString;
procedure Setvalue(const Value: TString);
public
procedure validar;
published
[Column('Email','varchar(200)',tru... |
unit PCM_Format;
interface
uses
SysUtils, AudioFormat;
type
TPCMFile = class(TAudioFile)
public
RIFFLabel: String;
RIFFSize: LongWord;
fccType: String;
fmt_Label: String;
fmtSize: LongWord;
formatTag: Word;
nChannels: Word;
nSamplesPerSec: LongWord;
nAvgByt... |
unit LayerSlottingPoster;
interface
uses PersistentObjects, DBGate, BaseObjects, LayerSlotting, DB;
type
TLayerSlottingDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;
function PostToDB(AObject: TIDObject; ACollection: TIDObj... |
Unit AdvThreads;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above... |
unit Aurelius.Mapping.RttiUtils;
{$I Aurelius.Inc}
interface
uses
Rtti, TypInfo,
Aurelius.Mapping.Optimization;
type
TRttiUtils = class
strict private
class var
FInstance: TRttiUtils;
strict private
FContext: TRttiContext;
procedure PrivateCreate;
procedure PrivateDes... |
unit Horse.Compression.Types;
{$IF DEFINED(FPC)}
{$MODE DELPHI}{$H+}
{$ENDIF}
interface
type
{$SCOPEDENUMS ON}
THorseCompressionType = (DEFLATE, GZIP);
{$SCOPEDENUMS OFF}
THorseCompressionTypeHelper = record helper for THorseCompressionType
function ToString: string;
function WindowsBits: Integer;
e... |
(*
@created(2019-12-27)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@item(27/12/2019 : Creation )
)
--------------------------------------------------------------------------------@br
------------------------------------------------------------------------------
Description : Simulation d... |
{$R-,S-,I-,D-,T-,F-,V-,B-,N-}
unit Cursors;
{ A unit for changing the appearance of the display cursor.
Version 1.02 - 10/26/1987 - First general release
Scott Bussinger
Professional Practice Systems
110 South 131st Street
Tacoma, WA 98444
(206)531-8944
Compuserve 72247,2671 }
interface
uses Dos;
... |
unit VisibleDSA.Circle;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils;
type
TCircle = class(TObject)
private
_x: integer;
_y: integer;
_r: integer;
public
constructor Create(new_x, new_y, new_r: integer);
destructor Destroy; override;
function Contain(p: TPoint): boolean;
... |
unit NUMMIMaskEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, StdCtrls, Mask;
type
TNUMMIMaskEdit = class(TMaskEdit)
private
{ Private declarations }
protected
{ Protected declarations }
procedure WndProc(var Message: TMessage); override;
public
{ Public ... |
unit PascalCoin.RPC.API.Wallet;
interface
Uses
System.JSON,
System.Generics.Collections,
PascalCoin.RPC.Interfaces,
PascalCoin.RPC.API.Base,
PascalCoin.RPC.API.Explorer,
pascalCoin.RPC.Account;
Type
TPascalCoinWalletAPI = Class(TPascalCoinExplorerAPI, IPascalCoinWalletAPI)
private
protected
Fu... |
/// classe transiente que controla o filtro
/// tomar como base o seguinte esquema para criar as condições de filtro (filter conditions)
/// https://github.com/nestjsx/crud/wiki/Requests
unit Filtro;
interface
uses
Classes, System.StrUtils, System.SysUtils;
type
TFiltro = class
private
FCampo: string;
... |
unit URegistroCaptura;
interface
type
TRegistroCaptura = class
private
FIdFolio : int64; {ID DEL FOLIO AL QUE SE LE ASIGNA EL REGISTRO}
FDescripcionTipoIdentificacion : string; {DESCRIPCION TIPO IDENTIFICACION }
FDescripcionFuenteIdentificacion: string; ... |
unit recaptcha_lib;
{
This is FORK a PHP library that handles calling reCAPTCHA.
http://www.google.com/recaptcha
Get a reCAPTCHA API Key
https://www.google.com/recaptcha/admin/create
}
{$mode objfpc}{$H+}
interface
uses
fpcgi, fastplaz_handler, common,
fphttpclient,
Classes, SysUtils;
const
ReCaptcha_Sig... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
//------------------------------------------------------------------------------
//
// Voxelizer
// Copyright (C) 2021 by Jim Valavanis
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation;... |
unit Glblcnst;
interface
uses Graphics, Messages;
{New Planning & zoning Types}
type
TNumber = (tnHighest, tnNext);
Type SBLFieldFormatRecord = Record
Field_Name : String;
Field_Seperator : String;
Field_Length : Integer;
Field_ShowSize :Integer;
Trim_Zero : Boolean;
Field_SRAZ : Boolean;
Fi... |
{
Assets browser.
Searches for files in Data folder and load BSA/BA2 archives.
Allows to open files with associated apps, unpack single file
and multifile unpack/copy preserving paths.
Hotkey: Ctrl+F3
Mode: Silent
}
unit AssetsBrowser;
var
slContainers, slResList, sl: TStringList;
slAssets, slItems... |
unit GBKMediaCenter;
interface
{$I zDefine.inc}
uses DoStatusIO, CoreClasses, PascalStrings, UPascalStrings,
MemoryStream64, ListEngine, TextDataEngine, UnicodeMixedLib;
{$REGION 'GBKMediaCenterDecl'}
type
TDictStyle = (dsChar, dsPY, dsS2T, dsT2HK, dsT2S, dsT2TW,
dsWordPart,
dsWillVec, dsWordVec,
... |
unit uOPCIntervalFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, DateUtils, IniFiles, Math,
uOPCInterval, AppEvnts;
type
TIntervaKindExt = (ikeInterval, ikeShift, ikeDay, ikeMonth);
// TDateTimePicker = class(ComCtrls.TDateTimePi... |
unit controller.registration.dto;
{$mode delphi}
interface
uses
Classes,
SysUtils,
controller.auth.dto;
type
{ TValidateURLRequest }
TValidateURLRequest = record
public
const
PROP_URL = 'url';
PROP_AUTH = 'validation';
strict private
FURL : String;
FValidate : TValidateReques... |
unit UnitVertexCacheOptimizer;
{$ifdef fpc}
{$mode delphi}
{$endif}
{$j+}
interface
uses SysUtils,Classes,Math;
type TVertexCacheOptimizerIndices=array of longint;
function OptimizeForVertexCache(Indices:TVertexCacheOptimizerIndices;CountTriangles,CountVertices:longint;var OutIndices,OutTriangles:TVert... |
(*******************************************************************)
(* Programmname : PARAMENU.PAS V1.8 *)
(* Programmautor : Michael Rippl *)
(* Compiler : Quick Pascal V1.0 *)
(* Inhalt : Men Parameter des Kopierprogramms Venus V2.1 *)
(* Bemerkung : - *)
(* ... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit DataAccessObject;
interface
uses
System.JSON,
FireDAC.Comp.Client;
type
TDataAccessObject = class
private
class var FInstance: TDataAccessObject;
private
FDConnection: TFDConnection;
// FDQuery: TFDQuery;
function GetQuery: TFDQuery;
public
constructor Create;
destructor Dest... |
unit qplugins_base;
interface
uses classes, sysutils, types, syncobjs;
const
SQPluginsVersion = '3.1'; { 版本号,当前为3.1版 }
{ 日志级别:紧急 }
LOG_EMERGENCY: BYTE = 0;
/// <summary>
/// 日志级别-警报
/// </summary>
LOG_ALERT = 1;
/// <summary>
/// 日志级别-致命错误
/// </summary>
LOG_FATAL = 2;
/// <summary>
/// 日志... |
unit DAO.OcorrenciasJornal;
interface
uses DAO.Base, Generics.Collections, System.Classes, Model.OcorrenciasJornal;
type
TOcorrenciasJornalDAO = class(TDAO)
public
function Insert(aOcorrencias: TOcorrenciasJornal): Boolean;
function Update(aOcorrencias: TOcorrenciasJornal): Boolean;
... |
unit UFormRestorePath;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, UMyUtil, IniFiles,
ExtCtrls,FileCtrl, ImgList, ToolWin, Menus,
VirtualTrees, RzLabel, RzPanel, UFormUtil, UModelUtil, Generics.Collections,
siComp;
type
// 恢复路径... |
unit Core.ListProcessor;
interface
uses
System.SysUtils
, System.Classes
, System.Rtti
{Spring}
, Spring
, Spring.Collections
, Spring.Collections.LinkedLists
{BowlingGame}
, Core.BaseInterfaces
, Core.Interfaces
;
type
TGameLinkedList<T> = class(TLinkedList<T>, IGameLinkedList<T>)
en... |
Unit Array2D;
Interface
Uses Sysutils;
Type
TIntegerArray = Array [0 .. (MaxInt div sizeof(Integer)) - 1] of Integer;
PIntegerArray = ^TIntegerArray;
TDoubleArray = Array [0 .. (MaxInt div sizeof(Double)) - 1] of Double;
PDoubleArray = ^TDoubleArray;
TArrayofDoubleArray = Array [0 .. (MaxInt div sizeof... |
unit DSOutput;
interface
uses
SysUtils,
Classes,
Windows,
MMSystem,
_DirectSound;
type
TDSOutput = class
private
fDS: IDirectSound;
fPrimary: IDirectSoundBuffer;
fSecondary: IDirectSoundBuffer;
fVolume: Integer;
function GetPlayCursorPos: Cardinal;
public
p... |
{*******************************************************************************
* *
* PentireFMX *
* ... |
unit Expedicao.Models.uRomaneio;
interface
type
TRomaneio = class
private
FKMSaida: Real;
FRetorno: TDateTime;
FCondutorOID: Integer;
FKMRodado: Real;
FKMRetorno: Real;
FVeiculoOID: Integer;
FFuncionarioSaidaOID: Integer;
FRomaneioOID: Integer;
FFuncionarioRe... |
unit uMd5;
interface
uses
System.SysUtils, System.Classes, IdHashMessageDigest, idHash, IdGlobal;
type
TMD5 = class(TComponent)
private
FText: string;
function getMD5: string;
procedure setText(const Value: string);
protected
{ Protected declarations }
public
{ Public declarations }
p... |
// Main.pas (Part of NoDaveDemo.dpr)
//
// A program demonstrating the functionality of the TNoDave component.
// This unit implements the mainform of the application.
//
// (C) 2005 Gebr. Schmid GmbH + Co., Freudenstadt, Germany
//
// Author: Axel Kinting (akinting@schmid-online.de)
//
// This program is free software... |
unit SeisMaterialPoster;
interface
uses PersistentObjects, DBGate, BaseObjects, DB, SeisMaterial,Material,Structure;
type
TSeisWorkTypeDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;
function PostToDB(AObject: TIDObject; AColl... |
{
Demo script on how to detect a conflict between elements in master record and override.
Apply to overriding record(s).
}
unit DetectConflict;
var
caName: array [0..6] of string;
function Initialize: integer;
begin
// Conflict names and their background colors when viewed in xEdit
// conflict status not... |
unit RuleHan;
{* Handler for Rule object, Rules are placed in the
RuleBase Sorted Collection *}
{$O+,F+,D-}
interface
uses Overlay, expconst, Objects;
type
RulePtr = ^Rule;
Rule = object(TObject)
CondNum : Integer;
FireFlag : Boolean;
TryFlag : Boolean;
LiveFlag : Boolean;
Conditions : Con... |
unit Work.CommandOne;
interface
uses
System.Classes,
Plus.TWork;
type
TCommandOneState = (csInitialState, csPrepared, csWorking);
type
TCommandOneWork = class(TWork)
private
public
State: TCommandOneState;
constructor Create(AOwner: TComponent); override;
procedure Execute; override;
end;
... |
unit DisciplinaIncAltUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, FMTBcd, DB, SqlExpr;
type
TDisciplinaIncAltForm = class(TForm)
DadosPanel: TPanel;
BotaoPanel: TPanel;
NomeLabel: TLabel;
NomeEdit: TEdit;
OkButt... |
unit UMyUrl;
interface
//const
// Url_Home = 'http://127.0.0.1:2456/WebSite/';
// Url_Register = Url_Home;
// Url_Home = 'http://www.backupcow.com/';
// Url_Register = Url_Home + 'register/';
// Url_Download = Url_Home + 'Download/';
//
// Url_GetIp = Url_Register + 'ip/default.aspx?act=getip';
// Url_GetTria... |
unit UxlTabControl;
interface
uses Windows, Messages, CommCtrl, UxlWinControl, UxlDragControl, UxlImageList, UxlFunctions, UxlClasses, UxlList;
type
TTabPosition = (tpTop, tpLeft, tpRight, tpBottom);
TTabStyle = record
MultiLine: boolean;
TabWidth: 0..10;
end;
TTabItem = record
... |
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... |
{
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
(*
* Copyright (c) 2009-2010, Ciobanu Alexandru
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this l... |
{$include kode.inc}
unit kode_widget_scrollbar;
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
uses
kode_canvas,
kode_color,
kode_flags,
kode_rect,
kode_widget;
type
KWidget_ScrollBar = class(KWi... |
unit qconverter_stds;
interface
{
2015.8.6
=========
* 修正了无法在早期版本编译的问题(感谢阿木报告)
2015.8.5
=========
* 修正了 JSON 和 MsgPack 格式保存修改记录字段值修改内容顺序错位的问题(感谢奋斗报告)
2015.7.22
---------
* 修正了字段原始值不为空后,修改为空时显示乱码的问题(感谢ijia报告)
}
uses classes, sysutils, qstring, qmsgpack, qjson, qxml, db, qvalue, fmtbcd, qdb;
type
{$I... |
unit datamodel.userdata.standard;
interface
uses
datamodel
, datamodel.gamedataobject.custom
;
type
TUserData = class( TGameDataObject, IUserData )
private
fDeleted: boolean;
fUserID: string;
fName: string;
fGameID: string;
fIsCurrentUser: boolean;
fScore: Integer;
fPlayerState: TPla... |
Unit ImageTex;
INTERFACE
Uses Systex;
Const
{ Code de marqueur IMI (Intelligent Image) }
imiEnd=0; { Fin de l'image }
imiTrueColor16=1; { Couleur véritable en 16-bits }
imiTrueColor24=2; { Couleur véritable en 24-bits }
imiTrueColor32=3; { Couleur véritable en 32-bits }
imiRealPoint=4; ... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela Cadastro de Convenio
The MIT License
Copyright: Copyright (C) 2015 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
... |
unit CompilerUtil;
interface
uses
CompilerDefines;
procedure CompileFile(AFile: string; AOptimize, AAssemble, ABuildModule, AUseBigEndiang: Boolean; AOnMessage: TOnMessage);
implementation
uses
Classes, Types, SysUtils, Compiler, D16Assembler, Optimizer, LineMapping;
procedure RefreshTargetI... |
unit ControlGridDisp;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TControlGridDisp = class(TComponent)
private
{ Private declarations }
FColorRow,
FColorGrid,
FColorTitle : TColor;
FLines,
FColums : Boolean;
FFontGrid : TFont;
F... |
unit remote.model.WindowOrigin;
interface
uses
superobject {An universal object serialization framework with Json support} ,
dco.framework.RPCObjectImpl,
remote.model.RPCObjectContainer,
remote.command.ResizeWindow,
remote.command.NotifyPositionChanged,
remote.command.NotifySizeChanged,
remote.command.N... |
unit sLabel;
{$I sDefs.inc}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, sConst, sMessages
{$IFDEF TNTUNICODE}, TntControls, TntStdCtrls, TntGraphics{$ENDIF};
type
{$IFNDEF NOTFORHELP}
TsShadowMode = (smNone, smCustom, smSkin1);
TsKindType = (ktStandard... |
{
单元名称: uJxdFtpUpTask
单元作者: 江晓德(Terry)
邮 箱: jxd524@163.com
说 明: 使用IdFtp对文件进行单线程上传。
开始时间: 2010-08-05
修改时间: 2010-08-06 (最后修改)
上传文件结构:
上传文件名
记录在本地的已上传长度
Host
post
Ftp用户名
Ftp密码
服务器目录
}
unit uJxdFtpUpTask;
interface
uses
Windows, Messages, SysUtils, Classes, StrUtils, IdFTP, Forms, uJxdThread, IdComponent, Encry... |
unit uCefWebAction;
interface
uses
Sysutils, Classes, System.SyncObjs,
//
uCEFInterfaces, uCEFTypes, uCEFChromium, uCEFChromiumEvents,
//
uReLog3, uLoggerInterface,
//
uCefWebActionBase;
type
TCefWebAction = class;
TCefWebActionEvent = function(const AWebAction: TCefWebAction): Boole... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit Memoappend;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TMemoUpdate = class(TMemo)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
procedure Append (msg : st... |
unit UDbfStrings;
interface
var
STRING_FILE_NOT_FOUND:string;
STRING_VERSION:string;
STRING_ABOUT:string;
STRING_FILTER:string;
STRING_FIELD_TOO_LONG:string;
STRING_INDEX_BASED_ON_UNKNOWN_FIELD:string;
STRING_CANNOT_OPEN_INDEX:string;
implementation
initialization
STRING_FILE_NOT_FOUND... |
Unit UcumSearch;
{
Copyright (c) 2001-2013, Health Intersections Pty Ltd (http://www.healthintersections.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must ... |
unit Str; {some extra string functions}
interface
const
Copyright: string = 'Str unit Copyright (C) 9-3-97 James M. Clark';
{ Compute a hash function of string S: }
{ Optionally, use AND or MOD to reduce hash size }
function HashStr(S: string): word;
{
Re-arrange author format:
Handles these ... |
{
Created by BGRA Controls Team
Dibo, Circular, lainz (007) and contributors.
For detailed information see readme.txt
Site: https://sourceforge.net/p/bgra-controls/
Wiki: http://wiki.lazarus.freepascal.org/BGRAControls
Forum: http://forum.lazarus.freepascal.org/index.php/board,46.0.html
This li... |
// Nama : Izza Wildan Ridhoni
// Nim : 201057007
// ---------------------------------
program antrian_pebayaran_pajak;
uses crt;
// maxisimal antrian yang dilayani adalah 20 antrian saja
const max = 20;
type rec_antrian = record
no_antri:array[1..max] of byte; //array didalam record
front,rear:0..max;
e... |
{*******************************************************************************
Title: T2Ti ERP
Description: Unit de calculo da NFE - Lado Cliente
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated docum... |
unit SDL_ttf;
interface
uses
SDL;
type
PTTF_Font = ^TTTF_font;
TTTF_Font = record
end;
const
{*
Set and retrieve the font style
This font style is implemented by modifying the font glyphs, and
doesn't reflect any inherent properties of the truetype font file.
*}
TTF_STYLE_NORMAL... |
{ dynamic data structure are those who can grow and shrink at run-time
such as lists. The opposite are static data structures, like arrays in most
languages.
The dynamic property can be realised with pointers, by having them point to objects
which in turn also contain pointers that could point to others (think ... |
program ExampleThreshold;
{$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif}
{$ifdef FPC}{$mode OBJFPC}{$H+}{$endif}
uses
SysUtils, IPConnection, BrickletTemperature;
type
TExample = class
private
ipcon: TIPConnection;
t: TBrickletTemperature;
public
procedure TemperatureReachedCB(sender: TBrickletTemp... |
unit entidade.Cliente;
interface
uses System.SysUtils, System.Generics.Collections,
orm.attributes, orm.attributes.types, orm.lazyload,
entidade.Cliente.Endereco;
type
[Table('CLIENTE')]
TCliente = Class
Private
[Column('ID',[ftPrimaryKey,ftAuto])]
FID : Integer;
[Co... |
unit DBUtil;
interface
uses ActiveX, ComObj, Variants, IniFiles, SysUtils, Classes, DateUtils;
function WriteDB(const SQL :string): boolean;
function getSelectVideo(const VideoId:string):string;
function getSelectPhoto(const NewsId:string):string;
function getNewsItems(Fields:TStrings):string;
function getNewsIte... |
unit UFilter;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, StdCtrls, Controls, Buttons, UMetaData;
const
Operations: array[0..6] of string = (' < ', ' > ', ' <> ', ' = ', ' <= ', ' >= ', ' LIKE ');
type
{ TFilter }
TFilter = class
constructor Create(APosition: TPoint; AParent: TWinControl;
... |
{
After closing the TADOConnection and ALL DataSets associated with it, you need to make sure the db is unlocked. Remember that other users might be connected to the db and in that case you cannot compact it.
Before actually compressing the db you have to give the jet engine a bit of time to actually close the connect... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [FIN_COBRANCA]
The MIT License ... |
{*******************************************************************************
作者: dmzn@163.com 2015-06-21
描述: 系统业务处理
*******************************************************************************}
unit USysBusiness;
interface
{$I Link.inc}
uses
Windows, DB, Classes, Controls, SysUtils, ULibFun, UFor... |
unit NovusList;
interface
uses
contnrs, NovusInfrastructre;
type
TNovusList = class(TNovusInfrastructre)
protected
foParentObject: TObject;
fsaClassname: String;
faclass: TClass;
FList: TObjectList;
private
function Get(Index: Integer): TObject;
procedure Put(Index: Integer; Item: TObj... |
unit iaRTL.Cloud.S3Folder;
interface
uses
System.Classes,
System.Generics.Collections,
iaRTL.Cloud.S3Object;
type
TS3Folder = class;
TS3FolderList = class(TObjectList<TS3Folder>)
public
function AddFolderName(const FolderName:string):Integer;
procedure AddFolderList(const Fold... |
unit frEditProduto;
interface
uses
Generics.Collections, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, AdvCombo, Lucombo, AdvEdit,
Aurelius.Engine.ObjectManager,
Entidades.Cadastro;
type
TfrmEditProduto = class(TFrame)
Label3: TLabel;
Label12: TLabel;... |
{>>Dans cette unité, on va traiter tous ce qui touche aux fichiers}
unit UFiles;
interface
Uses Forms,Classes,StdCtrls,Windows,SysUtils,Controls,Registry, Bass, BassMix, BassMidi, ComCtrls, Dialogs;
Procedure Create_Extension(Key,Ext,Icon:String);
Procedure Initialize_Extensions;
procedure List_Type_File(... |
unit AbstractHTTPRequestHandler;
interface
uses
DelphiDabblerSnippets,
Classes;
type
TRequestInfo = class
protected
_QueryFields : TStringList;
procedure SetContent(v : string); virtual; abstract;
function GetContent : string; virtual; abstract;
procedure SetContentType(v : string); virtual; abstrac... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Unit2;
type
TForm1 = class(TForm)
Label1: TLabel;
Edit1: TEdit;
Edit2: TEdit;
Label2: TLabel;
Edit3: TEdit;
Edit4: TEdit;
procedure Edit1KeyPress(Sender: TObject;... |
unit DNK_designpanel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls;
type
TDNK_designpanel = class(TPanel)
private
{ Private declarations }
onchangeevent: TNotifyEvent;
FBordersize: integer;
allowevent: boolean;
procedure setBordersize(V... |
unit GenerateReportForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons, Grids, DBGrids, ComCtrls,
DataModuleForm,
frxClass, DB, frxRich, frxDCtrl, frxFIBComponents, frxDBSet, BTS_Office_form,
cxGraphics, cxControls, cxLookAndFe... |
{*******************************************************************************
* *
* PentireFMX *
* ... |
unit dao.Loja;
interface
uses
UConstantes,
classes.ScriptDDL,
model.Loja,
System.StrUtils, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FireDAC.Comp.Client, FireDAC.Comp.DataSet;
type
TLojaDao = class(TObject)
strict private
class var aInstance... |
(*
* Copyright (c) 2008-2010, Ciobanu Alexandru
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this l... |
unit qsocket_base;
interface
uses classes, sysutils, qstring, qworker, syncobjs;
type
{
数据传输过程:
【发送数据】
请求数据流 -> 封装为 IQBaseSession 会话 -> 通过 IQBaseDispatcher.Transmit 接口对会话数据进行编码
->循环通过 IQBaseTransport.SendBuffer 接口发送数据
【接收数据】
接收到数据->检查会话是否存在,不存在则创建 IQBaseSession 会话->接收会话完成调用 IQBaseDispatcher... |
unit dmFireDAC;
interface
uses
SysUtils, Classes, DB, ADODB,
IdMessage, IdBaseComponent, IdComponent, IdTCPConnection,
IdTCPClient, IdMessageClient, IdSMTP
,midaslib, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error,
FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, ... |
unit Main;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
System.Generics.Collections,
Quick.Config.Base,
Quick.Config.Registry,
Quick.Config.Json;
type
TMyPriority = (m... |
unit uProcessSub;
interface
uses
Windows, Messages, SysUtils, Classes, CommCtrl, TLHelp32, Psapi, ShlObj, WinInet;
type
pProcessInfo = ^TProcessInfo;
TProcessInfo = record
FileName: string;
WindowHandle: HWND;
ProcessInfo: TProcessEntry32;
end;
function GetRunningProcessInfo(A... |
unit UPropertyBox;
interface
uses UxlDialog, UxlTabControl, UxlPanel, Windows, UTypeDef, UxlStdCtrls, UCommPanels, UxlList, UPageSuper, UPageProperty, UxlComboBox;
type
TPropertyPanelSuper = class (TxlDialogML)
protected
FPage: TPageSuper;
public
procedure Load (APage: TPageSuper); virtua... |
Unit ZWatch;
{################################}
{# ZiLEM Z80 Emulator #}
{# Watches #}
{# Copyright (c) 1994 James Ots #}
{# All rights reserved #}
{################################}
Interface
Uses
App, Objects, Views, Drivers, Dialogs, ZEngine, ZGlobals, ZHex, ZConsts,
ZI... |
unit uConfigManager;
interface
uses
Classes, SysUtils,
uJSONParser, uTools,
uCommonTypes;
type
TConfigManager = class
private
fParser: IJSonParser;
fFileName: String;
fData: String;
function GetOperationSymbols: TKeyValue;
function GetBaseUrl: String;
function GetListenPort: Integer;... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distr... |
//program latih2
PROGRAM LATIH2;
// memberi variabel a dengan tipe data string
// bernilai 5 indeks
VAR A : STRING[5];
// memberi nilai n tipe data real
N : REAL;
// memberi nilai c tipe data integer
C : INTEGER;
BEGIN
//memasukan input nilai a yaitu 12345
A := '12345';
//c menghitun panjat nilai copy dari a yang m... |
unit SDL_General;
{******************************************************************************}
{ }
{ Helper/Common Unit }
{ ... |
unit Expedicao.Controller.uSeguradora;
interface
uses
System.SysUtils,
System.JSON,
FireDAC.Comp.Client,
Base.uControllerBase,
Expedicao.Models.uSeguradora;
type
TSeguradoraController = class(TControllerBase)
private
{ Private declarations }
function ObterSeguradoraDaQuery(pQry: TFDQuery): ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.