Browse Source

+ test unicode app added

git-svn-id: branches/unicodekvm@48647 -
nickysn 4 years ago
parent
commit
6c0491f7c2
3 changed files with 79 additions and 0 deletions
  1. 2 0
      .gitattributes
  2. 59 0
      packages/fv/examples/testuapp.lpi
  3. 18 0
      packages/fv/examples/testuapp.pas

+ 2 - 0
.gitattributes

@@ -4996,6 +4996,8 @@ packages/fv/examples/Makefile svneol=native#text/plain
 packages/fv/examples/Makefile.fpc svneol=native#text/plain
 packages/fv/examples/testapp.lpi svneol=native#text/plain
 packages/fv/examples/testapp.pas svneol=native#text/plain
+packages/fv/examples/testuapp.lpi svneol=native#text/plain
+packages/fv/examples/testuapp.pas svneol=native#text/plain
 packages/fv/fpmake.pp svneol=native#text/plain
 packages/fv/src/amismsg.inc svneol=native#text/plain
 packages/fv/src/app.inc svneol=native#text/plain

+ 59 - 0
packages/fv/examples/testuapp.lpi

@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CONFIG>
+  <ProjectOptions>
+    <Version Value="11"/>
+    <General>
+      <Flags>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <MainUnitHasScaledStatement Value="False"/>
+      </Flags>
+      <SessionStorage Value="InProjectDir"/>
+      <MainUnit Value="0"/>
+      <Title Value="testuapp"/>
+      <UseAppBundle Value="False"/>
+      <ResourceType Value="res"/>
+    </General>
+    <BuildModes Count="1">
+      <Item1 Name="Default" Default="True"/>
+    </BuildModes>
+    <PublishOptions>
+      <Version Value="2"/>
+      <UseFileFilters Value="True"/>
+    </PublishOptions>
+    <RunParams>
+      <FormatVersion Value="2"/>
+      <Modes Count="0"/>
+    </RunParams>
+    <Units Count="1">
+      <Unit0>
+        <Filename Value="testuapp.pas"/>
+        <IsPartOfProject Value="True"/>
+      </Unit0>
+    </Units>
+  </ProjectOptions>
+  <CompilerOptions>
+    <Version Value="11"/>
+    <Target>
+      <Filename Value="testuapp"/>
+    </Target>
+    <SearchPaths>
+      <IncludeFiles Value="$(ProjOutDir);../../rtl-console/src/inc"/>
+      <OtherUnitFiles Value="../src;../../rtl-console/src/unix;../../rtl-extra/src/inc"/>
+      <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
+    </SearchPaths>
+  </CompilerOptions>
+  <Debugging>
+    <Exceptions Count="3">
+      <Item1>
+        <Name Value="EAbort"/>
+      </Item1>
+      <Item2>
+        <Name Value="ECodetoolError"/>
+      </Item2>
+      <Item3>
+        <Name Value="EFOpenError"/>
+      </Item3>
+    </Exceptions>
+  </Debugging>
+</CONFIG>

+ 18 - 0
packages/fv/examples/testuapp.pas

@@ -0,0 +1,18 @@
+program testuapp;
+
+uses
+  uapp;
+
+type
+  TMyUnicodeApp = object(TApplication)
+  end;
+
+var
+  MyUnicodeApp: TMyUnicodeApp;
+
+begin
+  MyUnicodeApp.Init;
+  MyUnicodeApp.Run;
+  MyUnicodeApp.Done;
+end.
+