Right now obtaining the store is typically done by calling smwfGetStore, which returns an instance of SMWStore. In other words, you do not know which store implementation you are actually talking to.
smwfGetStore itself is rather evil, but that is another topic altogether and not relevant for you here.
Jeroen De Dauwhttp://www.bn2vs.com
Don't panic. Don't be evil.