Changeset aebb9ee in tol
- Timestamp:
- Aug 13, 2010, 11:09:38 PM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- e3ade54
- Parents:
- 20f76bc
- File:
-
- 1 edited
-
tol/btol/text_type/txtgra.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/text_type/txtgra.cpp
r20f76bc raebb9ee 385 385 contens_=I2(Text(Arg(1)),Text(Arg(2))); 386 386 } 387 388 //-------------------------------------------------------------------- 389 DeclareContensClass(BText, BTxtTemporary, BTxtGetHardSoftPlattform); 390 DefExtOpr(1, BTxtGetHardSoftPlattform, "GetHardSoftPlattform", 1, 1, 391 "Real","(Real unused)", 392 I2("Returns the identifier of the platform where TOL is running.", 393 "Devuelve el identificador de la platforma sobre la que " 394 "está funcionando TOL."), 395 BOperClassify::Text_); 396 //-------------------------------------------------------------------- 397 void BTxtGetHardSoftPlattform::CalcContens() 398 //-------------------------------------------------------------------- 399 { 400 //"Windows-x86_32" 401 //"Linux-x86_32" 402 #ifdef UNIX 403 contens_= "Linux-x86_32"; 404 #else 405 contens_= "Windows-x86_32"; 406 #endif 407 } 408 409 //-------------------------------------------------------------------- 410 DeclareContensClass(BText, BTxtTemporary, BTxtGetSharedLibExt); 411 DefExtOpr(1, BTxtGetSharedLibExt, "GetSharedLibExt", 1, 1, 412 "Real","(Real unused)", 413 I2("Returns the identifier of the platform where TOL is running.", 414 "Devuelve el identificador de la platforma sobre la que " 415 "está funcionando TOL."), 416 BOperClassify::Text_); 417 //-------------------------------------------------------------------- 418 void BTxtGetSharedLibExt::CalcContens() 419 //-------------------------------------------------------------------- 420 { 421 #ifdef UNIX 422 contens_= "so"; 423 #else 424 contens_= "dll"; 425 #endif 426 } 427 387 428 388 429 //--------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.
