Home Help Center

Including slice files

mcrystalmcrystal Member Mayer CrystalOrganization: Goldman SachsProject: N/A
Hi all,

I was wondering whether or not it is possible to include one slice file within another. For instance, if I have a slice file with common data structures and I write 2 service definitions which wish to use those data structures, is there a way to include the 'common' file within my specific service files or do I have to explicitly define the common data structures in each individual file?



TIA,
Mayer

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Yes, this is possible. The slice files that accompany the Ice distribution do exactly this.

    Matthew
Sign In or Register to comment.